<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ftp.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'ftp.installation.php',
    1 => 'インストール手順',
    2 => 'インストール手順',
  ),
  'up' => 
  array (
    0 => 'ftp.setup.php',
    1 => 'インストール/設定',
  ),
  'prev' => 
  array (
    0 => 'ftp.setup.php',
    1 => 'インストール/設定',
  ),
  'next' => 
  array (
    0 => 'ftp.resources.php',
    1 => 'リソース型',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/ftp/configure.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="ftp.installation" class="section">
 <h2 class="title">インストール手順</h2>
 <p class="para">
  PHP で FTP 関数を使用するには、PHP をインストールする際に
  <strong class="option configure">--enable-ftp</strong>
  オプションを追加する必要があります。
 </p>
 <p class="para">
  Autotoolsでは、 <strong class="option configure">--with-openssl</strong> オプションを使用して
  <code class="literal">openssl</code> 拡張機能とともにビルドする場合、FTP SSLサポートは自動的に有効になります。
  <code class="literal">openssl</code> 拡張機能なしでビルドする場合は、<strong class="option configure">--with-ftp-ssl</strong>
  Autotools オプションを使用することで、明示的にFTP SSLサポートを有効にできます。
 </p>
 <p class="para">
  Windows 版の PHP では、
  この拡張モジュールは共有モジュールとしてビルドされます。
  これらの関数を使うには、<var class="filename">php.ini</var> でモジュールを有効にする必要があります。
 </p>
 
 <div class="simplesect">
  <h3 class="title">変更履歴</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>バージョン</th>
       <th>説明</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>8.4.0</td>
       <td>
        <strong class="option configure">--with-openssl-dir</strong> Autotoolオプションは、削除され、
        <code class="literal">openssl</code> 拡張機能なしでビルドする場合に、FTP SSLサポートを明示的に有効化する
        <strong class="option configure">--with-ftp-ssl</strong> オプションが追加されました。
       </td>
      </tr>

     </tbody>
    
   </table>

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