array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'install.macosx.php', 1 => 'macOS 系统下的安装', ), 'up' => array ( 0 => 'install.php', 1 => '安装与配置', ), 'prev' => array ( 0 => 'install.unix.debian.php', 1 => 'Debian GNU/Linux 安装说明', ), 'next' => array ( 0 => 'install.macosx.packages.php', 1 => '使用软件包', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'zh', 'path' => 'install/macos/index.xml', ), '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); ?>
本章包括在 macOS 平台下安装 PHP 的说明和提示。 PHP 从 macOS X (10.0.0) 到 macOS Monterey (12.0.0) 之前都内置 PHP。 编译跟 Unix 安装教程 相似。