From d6270d0c3ba1d2b01240d009994d8a90b968c954 Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Wed, 14 Feb 2007 18:57:17 +0000 Subject: [PATCH] Rework the installation/configuration/requirements sections git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@229807 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/zip/configure.xml | 95 +++++++++++++++++++++---------------- reference/zip/reference.xml | 29 ++++------- 2 files changed, 63 insertions(+), 61 deletions(-) diff --git a/reference/zip/configure.xml b/reference/zip/configure.xml index c2aad19888..d985b85211 100644 --- a/reference/zip/configure.xml +++ b/reference/zip/configure.xml @@ -1,67 +1,78 @@ - +
&reftitle.install; - - &pecl.moved; - &pecl.info; - &url.pecl.package;zip. - -
- Installation on Linux -
- Installation when bundled with PHP4 + +
+ PHP4 + + + + Zip support before PHP 4.1.0 is experimental. + + + + + + Because the PHP4 zip extension is unmaintained we recommend that the PECL + extension is used rather than the bundled one. + + + +
+ Linux systems In order to use these functions you must compile PHP with zip support by using the configure option, where [DIR] is the prefix of the ZZIPlib library install. -
-
- Installation with PECL or bundled with PHP 5.2 or later +
+ +
+ Windows - In order to use these functions you must compile PHP with zip support - by using the - configure option. It does not require any external library. + Windows users need to enable php_zip.dll inside + of &php.ini; in order to use these functions. - - - You can use the PECL version with PHP4. In order to do it you - have to disable the bundled Zip extension or recompile PHP without - it. - -
-
- Installation on Windows -
- Installation when bundled with PHP4 +
+ PHP5.2 and later + +
+ Linux systems - Windows users will enable php_zip.dll inside - of &php.ini; in order to use these functions. - &pecl.windows.4; - &pecl.windows.download; + In order to use these functions you must compile PHP with zip support + by using the + configure option. - - - Zip support before PHP 4.1.0 is experimental. This section - reflects the Zip extension as it exists in PHP 4.1.0 and later. - -
-
- Installation with PECL or bundled with PHP 5.2 or later + +
+ Windows - Windows users will enable php_zip.dll inside + Windows users need to enable php_zip.dll inside of &php.ini; in order to use these functions. - &pecl.windows.4; - &pecl.windows.download;
+ +
+ Installation via PECL + + &pecl.info; + &url.pecl.package;zip. + + + &pecl.windows.download; + + + &pecl.windows.4; + +
+
+ @@ -11,35 +11,26 @@
&reftitle.intro; - This module enables you to transparently read or write ZIP compressed + This extension enables you to transparently read or write ZIP compressed archives and the files inside them.
&reftitle.required; -
- PHP 4 Bundled +
+ PHP 4 - The initial version is bundled in PHP 4 and is available in PECL - as version 1.0, see - &url.pecl.package;zip. It can only read Zip Archives. - - - This version uses the functions of the ZZIPlib library by Guido Draheim. - You need ZZIPlib version >= 0.10.6. + The bundled PHP4 version requires ZZIPlib, + by Guido Draheim, version 0.10.6 or later
-
- PECL and PHP 5.2 or later +
+ PHP 5.2 or later - The newest version is bundled in PHP 5.2.0 or later and - available in PECL, as version 1.1.0 or later. It does not - require any external library. It can read and write Zip archives - when used with PHP 5.1 or later and can only read them when used - with PHP4. + This extension uses the functions of zlib + by Jean-loup Gailly and Mark Adler.