Doc #79418 [Ver->Csd]: configure --enable-zip results in failure

From: Date: Fri, 27 Mar 2020 16:33:28 +0000
Subject: Doc #79418 [Ver->Csd]: configure --enable-zip results in failure
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17448@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:             Verified
+Status:             Closed
 Type:               Documentation Problem
 Package:            Zip Related
 Operating System:   Debian Buster
 PHP Version:        7.4.4
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[2020-03-27 16:32:32] cmb@php.net

Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=349534
Log: Fix #79418: configure --enable-zip results in failure

------------------------------------------------------------------------
[2020-03-27 09:19:30] 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 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


Thread (4 messages)

« previous php.doc.bugs (#17448) next »