php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #79418 configure --enable-zip results in failure
Submitted: 2020-03-26 21:03 UTC Modified: 2020-03-27 16:33 UTC
From: jr at rushlow dot dev Assigned: cmb (profile)
Status: Closed Package: Zip Related
PHP Version: 7.4.4 OS: Debian Buster
Private report: No CVE-ID: None
 [2020-03-26 21:03 UTC] 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
....


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-03-27 06:27 UTC] vibhutisawant18 at gmail dot com
try adding --with-zip  flag instead of --enable-zip
 [2020-03-27 09:19 UTC] cmb@php.net
-Status: Open +Status: Verified -Package: Compile Warning +Package: Zip Related
 [2020-03-27 09:19 UTC] cmb@php.net
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>
 [2020-03-27 16:32 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=349534
Log: Fix #79418: configure --enable-zip results in failure
 [2020-03-27 16:33 UTC] cmb@php.net
-Status: Verified +Status: Closed -Assigned To: +Assigned To: cmb
 [2020-03-27 16:33 UTC] cmb@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 [2020-03-27 16:34 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=f5c5171d6f7c8a1c96846e79d1a7d3f1578a32ff
Log: Fix #79418: configure --enable-zip results in failure
 [2020-03-28 01:39 UTC] mumumu@php.net
Automatic comment from SVN on behalf of mumumu
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=349538
Log: Fix #79418: configure --enable-zip results in failure
 [2020-03-28 01:40 UTC] phpdocbot@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=dee9374a25473bdf73ed3f97dd1a48e9a463e412
Log: Fix #79418: configure --enable-zip results in failure
 [2020-12-30 11:59 UTC] nikic@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=15737224c5d09c4110a08ae0610465d029d9aa11
Log: Fix #79418: configure --enable-zip results in failure
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 17:01:31 2024 UTC