Skip to content

Can't build mod-zip bundled in php 8.6.0alpha2 #22859

Description

@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

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions