ID: 38169 User updated by: php at adaniels dot nl Reported By: php at adaniels dot nl Status: Bogus Bug Type: Documentation problem Operating System: Any PHP Version: Irrelevant New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [2006-08-11 18:16:34] [EMAIL PROTECTED] 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