<?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 => 'en',
  ),
  'this' => 
  array (
    0 => 'ftp.installation.php',
    1 => 'Installation',
    2 => 'Installation',
  ),
  'up' => 
  array (
    0 => 'ftp.setup.php',
    1 => 'Installing/Configuring',
  ),
  'prev' => 
  array (
    0 => 'ftp.setup.php',
    1 => 'Installing/Configuring',
  ),
  'next' => 
  array (
    0 => 'ftp.resources.php',
    1 => 'Resource Types',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    '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">Installation</h2>
 <p class="para">
  In order to use FTP functions with your PHP configuration, you should
  add the <strong class="option configure">--enable-ftp</strong> option when
  installing PHP.
 </p>
 <p class="para">
  In Autotools, the FTP SSL support is enabled implicitly when building together
  with the <code class="literal">openssl</code> extension using the
  <strong class="option configure">--with-openssl</strong> configure option. When
  building without <code class="literal">openssl</code> extension, the
  <strong class="option configure">--with-ftp-ssl</strong> Autotools configure option
  can be used to enable the FTP SSL support explicitly.
 </p>
 <p class="para">
  On Windows this extension is always built as shared extension
  and as such has to be enabled in <var class="filename">php.ini</var>.
 </p>

 <div class="simplesect">
  <h3 class="title">Changelog</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>Version</th>
       <th>Description</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>8.4.0</td>
       <td>
        Autotools configure option <strong class="option configure">--with-openssl-dir</strong>
        has been removed in favor of the new
        <strong class="option configure">--with-ftp-ssl</strong> that enables the FTP
        SSL support explicitly when building without the <code class="literal">openssl</code>
        extension.
       </td>
      </tr>

     </tbody>
    
   </table>

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