array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'install.macosx.php', 1 => 'Installation on macOS', ), 'up' => array ( 0 => 'install.php', 1 => 'Installation and Configuration', ), 'prev' => array ( 0 => 'install.unix.debian.php', 1 => 'Debian GNU/Linux installation notes', ), 'next' => array ( 0 => 'install.macosx.packages.php', 1 => 'Using Packages', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', '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); ?>
This section contains notes and hints specific to installing PHP on macOS. PHP is bundled with macOS since macOS X (10.0.0) prior to macOS Monterey (12.0.0). Compiling is similar to the Unix installation guide.