<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/install.macosx.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'install.macosx.packages.php',
    1 => 'サードパーティパッケージによる macOS へのインストール',
    2 => 'サードパーティパッケージによる macOS へのインストール',
  ),
  'up' => 
  array (
    0 => 'install.macosx.php',
    1 => 'macOS へのインストール',
  ),
  'prev' => 
  array (
    0 => 'install.macosx.php',
    1 => 'macOS へのインストール',
  ),
  'next' => 
  array (
    0 => 'install.macosx.compile.php',
    1 => 'macOS 上での PHP のコンパイル',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'install/macos/packages.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="install.macosx.packages" class="sect1">
 <h2 class="title">サードパーティパッケージによる macOS へのインストール</h2>
 <p class="simpara">
  macOS 用にコンパイルされた PHP パッケージがいくつか存在します。
  一般的なセットアップを行うにあたって、利用することができます。ただし、
  （セキュアサーバーや様々なデータベースドライバなど）少々特殊な機能が必要な場合、
  PHP を自分でビルドする必要が有るかもしれません。ソフトウエアの
  ビルドやコンパイルに不慣れな場合は、必要な機能を含めてビルドされたパッケージを
  誰か他の人が作成済みでないかを調べてみると良いでしょう。
 </p>
  <p class="simpara">
   macOS に PHP をインストールするには、
   <a href="https://brew.sh/" class="link external">&raquo;&nbsp;Homebrew</a>
   パッケージマネージャを使用すると簡単です。
  </p>
  <ol type="1">
   <li class="listitem">
    <p class="para">
     Web サイトの指示に従って Homebrew をインストールしてください。
    </p>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong class="command">brew install php</strong>
    </span>
   </li>
  </ol>  <p class="simpara">
   以下の場所にも、簡単にインストールできる
   macOS 用のコンパイル済み PHP パッケージがあります。
  </p>
  <ul class="simplelist">
   <li>
    <a href="http://www.macports.org/" class="link external">&raquo;&nbsp;MacPorts</a>
   </li>
   <li>
    <a href="http://www.finkproject.org/" class="link external">&raquo;&nbsp;Fink</a>
   </li>
  </ul>
</div><?php manual_footer($setup); ?>