<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.12 $ -->
<section xml:id="zip.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
 &reftitle.install;
 
 <section xml:id="zip.old.installation">
  <title>PHP 4</title>
  
  <note>
   <para>
    Zip support before PHP 4.1.0 is experimental.
   </para>
  </note>
  
  <warning>
   <para>
    Because the PHP 4 zip extension is unmaintained we recommend that the PECL
    extension is used rather than the bundled one.
   </para>
  </warning>
  
  <section xml:id="zip.installation.old.linux">
   <title>Linux systems</title>
   <para>
    In order to use these functions you must compile PHP with zip support
    by using the <option role="configure">--with-zip[=DIR]</option>
    configure option, where [DIR] is the prefix of the <link
    xlink:href="&url.zziplib;">ZZIPlib</link> library install.
   </para>
  </section>
  
  <section xml:id="zip.installation.old.windows">
   <title>Windows</title>
   <para>
    Windows users need to enable <filename>php_zip.dll</filename> inside
    of &php.ini; in order to use these functions.
   </para>
  </section>
 </section>

 <section xml:id="zip.installation.new">
  <title>PHP 5.2.0 and later</title>
  
  <section xml:id="zip.installation.new.linux">
   <title>Linux systems</title>
   <para>
    In order to use these functions you must compile PHP with zip support
    by using the <option role="configure">--enable-zip</option>
    configure option.
   </para>
  </section>
  
  <section xml:id="zip.installation.new.windows">
   <title>Windows</title>
   <para>
    Windows users need to enable <filename>php_zip.dll</filename> inside
    of &php.ini; in order to use these functions.
   </para>
  </section>
 </section>

 <section xml:id="zip.pecl.installation">
  <title>Installation via PECL</title>
  <para>
   &pecl.info;
   <link xlink:href="&url.pecl.package;zip">&url.pecl.package;zip</link>.
  </para>
  <para>
   &pecl.windows.download;
  </para>
  <para>
   &pecl.windows.4;
  </para>
 </section>

</section>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->