<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/install.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'install.macosx.php',
    1 => 'macOS 系统下的安装',
    2 => 'macOS 系统下的安装',
  ),
  'up' => 
  array (
    0 => 'install.php',
    1 => '安装与配置',
  ),
  'prev' => 
  array (
    0 => 'install.unix.solaris.php',
    1 => '针对 Solaris 的安装提示',
  ),
  'next' => 
  array (
    0 => 'install.macosx.packages.php',
    1 => '在 MacOS 上使用第三方包安装',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'zh',
    'path' => 'install/macos/index.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/install.macosx.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="install.macosx" class="chapter">
 <h1 class="title">macOS 系统下的安装</h1>
<h2>目录</h2><ul class="chunklist chunklist_chapter"><li><a href="install.macosx.packages.php">在 MacOS 上使用第三方包安装</a></li><li><a href="install.macosx.compile.php">在 macOS 下编译 PHP</a></li><li><a href="install.macosx.bundled.php">使用 macOS Monterey 之前内置的 PHP</a></li></ul>

 <p class="para">
  PHP 在 macOS 10 和 11 版本中与 macOS 捆绑在一起，但 macOS 12 (Monterey) 之后的版本中不再包含
  PHP。在较新版本上安装需要使用来自第三方来源的软件包，或从源代码编译。
 </p>

 







 






 






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