#38169 [Bgs->Csd]: Documentation states --with-zip, should be --enable-zip
| From: | php at adaniels dot nl | Date: | Fri, 11 Aug 2006 23:27:31 +0000 |
| Subject: | #38169 [Bgs->Csd]: Documentation states --with-zip, should be --enable-zip | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969373738@lists.php.net to get a copy of this message | ||
ID: 38169
User updated by: php at adaniels dot nl
Reported By: php at adaniels dot nl
-Status: Bogus
+Status: Closed
Bug Type: Documentation problem
Operating System: Any
PHP Version: Irrelevant
New Comment:
Thank you
Previous Comments:
------------------------------------------------------------------------
[2006-08-11 22:14:40] pajoye@php.net
The documentation has been updated. It contains the explanation for the
bundled version in php4.x (--with-zip[=DIR]), pecl and php 5.2
(--enable-zip). The changes will show up with the next update.
------------------------------------------------------------------------
[2006-08-11 21:13:50] php at adaniels dot nl
If I understand you correctly, there is a difference between installing
the zip extension for PHP4 and for PHP5. To my opinion this isn't made
clear when reading the manual.
Other PECL extensions which also have documentation in the PHP manual,
do have the correct --enable syntax. For example:
http://www.php.net/manual/en/ref.runkit.php
I've noticed that the installation instructions start with 'In PHP 4
...'. But there are no instructions for other versions. This made me
think these instructions did not change for PHP5.
I believe that an 'In PHP 5 ...' paragraph would be feasible.
I've compiled PHP many times, so this it didn't really cause me too
much trouble. But I think that if you want to statically compile an
extension into PHP for the first time, this could cause you a real
headache.
Thanks for reconcidering.
------------------------------------------------------------------------
[2006-08-11 18:16:34] nlopess@php.net
you are mixing the bundled version with the pecl one.
------------------------------------------------------------------------
[2006-07-20 21:52:57] php at adaniels dot nl
Description:
------------
Documentation:
In order to use these functions you must compile PHP with zip support
by using the --with-zip[=DIR] configure option.
But actualy:
sek:/usr/src/php/php-5.1.4# ./configure --help | grep zip
--enable-zip Include Zip read/write support.
--with-zlib-dir[=DIR] zip: Set the path to libz install prefix.
The --with-zip does not work.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38169&edit=1