Doc #79418 [Opn->Ver]: configure --enable-zip results in failure
| From: | cmb@php.net | Date: | Fri, 27 Mar 2020 09:19:30 +0000 |
| Subject: | Doc #79418 [Opn->Ver]: configure --enable-zip results in failure | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-17447@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79418&edit=1
ID: 79418
Updated by: cmb@php.net
Reported by: jr at rushlow dot dev
Summary: configure --enable-zip results in failure
-Status: Open
+Status: Verified
Type: Documentation Problem
-Package: Compile Warning
+Package: Zip Related
Operating System: Debian Buster
PHP Version: 7.4.4
Block user comment: N
Private report: N
New Comment:
This is only documented in the migration guide[1] so far:
| --enable-zip becomes --with-zip
[1] <https://www.php.net/manual/en/migration74.other-changes.php#migration74.other-changes.pkg-config>
Previous Comments:
------------------------------------------------------------------------
[2020-03-27 06:27:17] vibhutisawant18 at gmail dot com
try adding --with-zip flag instead of --enable-zip
------------------------------------------------------------------------
[2020-03-26 21:03:14] jr at rushlow dot dev
Description:
------------
---
From manual page: https://php.net/zip.installation
---
when configuring PHP with --enable-zip as stated in the manual, the compiler emits
configure: WARNING: unrecognized options: --enable-zip
However, configuring PHP with --with-zip results in success.
I'll be happy to submit a patch, but I'm not sure if the documentation is wrong or the
compiler option is wrong.
Test script:
---------------
tar zxf php-7.4.4.tar.gz
cd php7.4.4
./configure --enable-zip
....
configure: WARNING: unrecognized options: --enable-zip
....
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79418&edit=1