<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/install.fpm.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'install.fpm.install.php',
    1 => '安装',
    2 => '安装',
  ),
  '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',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="install.fpm.install" class="sect1">
   <h2 class="title">安装</h2>
    
    <div class="sect2" id="install.fpm.install.compiling">
     <h3 class="title">从源代码编译</h3>
     <p class="para">
      编译 PHP 时需要 <code class="literal">--enable-fpm</code> 配置选项来激活 FPM 支持。
     </p>
     <p class="para">
      以下为 FPM 编译的具体配置参数（全部为可选参数）：
     </p>
     <ul class="itemizedlist">
      <li class="listitem">
       <p class="para">
        <code class="literal">--with-fpm-user</code> - 设置 FPM 运行的用户身份（默认 - nobody）。
       </p>
      </li>
      <li class="listitem">
       <p class="para">
        <code class="literal">--with-fpm-group</code> - 设置 FPM 运行时的用户组（默认 - nobody）。
       </p>
      </li>
      <li class="listitem">
       <p class="para">
        <code class="literal">--with-fpm-systemd</code> - 启用 systemd 集成 (默认 - no)。
       </p>
      </li>
      <li class="listitem">
       <p class="para">
        <code class="literal">--with-fpm-acl</code> - 使用 POSIX 访问控制列表 (默认 - no)。
       </p>
      </li>
      <li class="listitem">
       <p class="para">
        <code class="literal">--with-fpm-apparmor</code> - 激活 AppArmor 集成 (默认 - no)。
       </p>
      </li>
      <li class="listitem">
       <p class="para">
        <code class="literal">--with-fpm-selinux</code> - 激活 SELinux 集成（默认 - no）。
       </p>
      </li>
     </ul>
    </div>

    <div class="sect2">
     <h3 class="title">更新日志</h3>
     <p class="para">
      <table class="doctable informaltable">
       
        <thead>
         <tr>
          <th>版本</th>
          <th>说明</th>
         </tr>

        </thead>

        <tbody class="tbody">
         <tr>
          <td>8.2.0</td>
          <td>
           新增 <code class="literal">--with-fpm-selinux</code> 选项。
          </td>
         </tr>

         <tr>
          <td>8.0.0</td>
          <td>
           新增 <code class="literal">--with-fpm-apparmor</code> 选项。
          </td>
         </tr>

        </tbody>
       
      </table>

     </p>
    </div>
  </div><?php manual_footer($setup); ?>