array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'install.fpm.install.php', 1 => '安装', ), 'up' => array ( 0 => 'install.fpm.php', 1 => 'FastCGI 进程管理器(FPM)', ), 'prev' => array ( 0 => 'install.fpm.php', 1 => 'FastCGI 进程管理器(FPM)', ), 'next' => array ( 0 => 'install.fpm.configuration.php', 1 => '配置', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'zh', 'path' => 'install/fpm/install.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
编译 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 选项。
|