要在您的 PHP 建置中啟用 FPM,您需要在 configure 命令列中加入 --enable-fpm
。
還有其他幾個 FPM 特定的 configure 選項(所有選項都是可選的)
--with-fpm-user
- 設定 FPM 使用者(預設值 - nobody)。
--with-fpm-group
- 設定 FPM 群組(預設值 - nobody)。
--with-fpm-systemd
- 啟用 systemd 整合(預設值 - 否)。
--with-fpm-acl
- 使用 POSIX 訪問控制列表(預設值 - 否)。
--with-fpm-apparmor
- 啟用 AppArmor 整合(預設值 - 否)。
--with-fpm-selinux
- 啟用 SELinux 整合(預設值 - 否)。
版本 | 說明 |
---|---|
8.2.0 | 新增了 --with-fpm-selinux 選項。 |
8.0.0 | 新增了 --with-fpm-apparmor 選項。 |