[php-src] Issue #22859: Can't build mod-zip bundled in php 8.6.0alpha2

From: Date: Wed, 22 Jul 2026 13:21:04 +0000
Subject: [php-src] Issue #22859: Can't build mod-zip bundled in php 8.6.0alpha2
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-252470@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/22859 Author: sergey-dryabzhinsky ### Description Trying to build with --with-zip=shared with external libzip v1.1.2 by gcc-16. Got this error: ``` error: implicit declaration of function 'zip_file_set_encryption'; ``` Php 8.5.8 or 8.4.23 builds fine ### PHP Version ```plain PHP 8.6.0-Rusoft/Rev14.4 GCC:16.1.0 LD:2.35.2-gold CURL:7.88.1 libGD2:2.3.3 ICU:78.3 PCRE2:10.47 SSL:1.1.1w Sqlite3:3.22.0 PgSQL:12.22 ZLIB:1.3.2 (cli) (built: Jul 14 2026 13:04:34) (NTS) Copyright The PHP Group and Contributors Zend Engine v4.6.0-dev, Copyright Zend by Perforce with Zend OPcache v8.6.0-Rusoft/Rev14.4 GCC:16.1.0 LD:2.35.2-gold CURL:7.88.1 libGD2:2.3.3 ICU:78.3 PCRE2:10.47 SSL:1.1.1w Sqlite3:3.22.0 PgSQL:12.22 ZLIB:1.3.2, Copyright , by Zend by Perforce ``` ### Operating System Ubuntu 16.04

« previous php.bugs (#252470) next »