<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/migration70.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'migration70.sapi-changes.php',
    1 => 'SAPI 模块的变化',
    2 => 'SAPI 模块的变化',
  ),
  'up' => 
  array (
    0 => 'migration70.php',
    1 => '从 PHP 5.6.x 移植到 PHP 7.0.x',
  ),
  'prev' => 
  array (
    0 => 'migration70.constants.php',
    1 => '新的全局常量',
  ),
  'next' => 
  array (
    0 => 'migration70.removed-exts-sapis.php',
    1 => '移除的扩展和 SAPI',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'zh',
    'path' => 'appendices/migration70/sapi-changes.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="migration70.sapi-changes" class="sect1">
 <h2 class="title">SAPI 模块的变化</h2>

 <div class="sect2" id="migration70.sapi-changes.fpm">
  <h3 class="title"><a href="book.fpm.php" class="link">FPM</a></h3>

  <div class="sect3" id="migration70.sapi-changes.fpm.listen">
   <h4 class="title">
    <a href="install.fpm.configuration.php#listen" class="link">listen</a> 端口现在同时监听
    IPv4 和 IPv6 地址。
   </h4>

   <p class="para">
    在 PHP 5 中，<a href="install.fpm.configuration.php#listen" class="link">listen</a> 指令如果仅带一个端口数字，则会监听所有网络接口，但只是
    IPv4。现在 PHP 7 会同时接受来自 IPv4 和 IPv6 上的请求。
   </p>

   <p class="para">
    指定了 ip 地址后不受此影响；它们会继续仅仅监听在指定的地址和协议上。
   </p>
  </div>
 </div>
</div><?php manual_footer($setup); ?>