安裝

從源代碼編譯

編譯 PHP 時(shí)需要 --enable-fpm 配置選項(xiàng)來(lái)激活 FPM 支持。

以下為 FPM 編譯的具體配置參數(shù)(全部為可選參數(shù)):

  • --with-fpm-user - 設(shè)置 FPM 運(yùn)行的用戶身份(默認(rèn) - nobody)

  • --with-fpm-group - 設(shè)置 FPM 運(yùn)行時(shí)的用戶組(默認(rèn) - nobody)

  • --with-fpm-systemd - 啟用 systemd 集成 (默認(rèn) - no)

  • --with-fpm-acl - 使用POSIX 訪問(wèn)控制列表 (默認(rèn) - no)