PHP8 安裝
2023-10-27 14:46 更新
從源代碼編譯
編譯 PHP 時需要 --enable-fpm 配置選項來激活 FPM 支持。
以下為 FPM 編譯的具體配置參數(全部為可選參數):
- --with-fpm-user - 設置 FPM 運行的用戶身份(默認 - nobody)。
- --with-fpm-group - 設置 FPM 運行時的用戶組(默認 - nobody)。
- --with-fpm-systemd - 啟用 systemd 集成 (默認 - no)。
- --with-fpm-acl - 使用 POSIX 訪問控制列表 (默認 - no)。
- --with-fpm-apparmor - 激活 AppArmor 集成 (默認 - no)。
- --with-fpm-selinux - 激活 SELinux 集成(默認 - no)。
更新日志
版本 | 說明 |
---|---|
8.2.0 | 新增 --with-fpm-selinux 選項。 |
8.0.0 | 新增 --with-fpm-apparmor 選項。 |
以上內容是否對您有幫助:
更多建議: