Topic: Problem with zip.so module not installing on php80
Hi,
Today our servers have stopped building and installing php80 correctly. We're getting Class “ZipArchive” not found and zip module is not installed, CLI is throwing an error below.
We're on amazon linux 2, using: https://dl.fedoraproject.org/pub/epel/e … oarch.rpm,
when we install php80-php-zip and run php --version in console: we're getting the error below:
php --version
PHP Warning: PHP Startup: Unable to load dynamic library 'zip.so' (tried: /opt/remi/php80/root/usr/lib64/php/modules/zip.so (/lib64/libzip.so.5: undefined symbol: ZSTD_minCLevel), /opt/remi/php80/root/usr/lib64/php/modules/zip.so.so (/opt/remi/php80/root/usr/lib64/php/modules/zip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP 8.0.7 (cli) (built: Jun 1 2021 18:43:05) ( NTS gcc x86_64 )
Copyright (c) The PHP Group
Zend Engine v4.0.7, Copyright (c) Zend Technologies
with Zend OPcache v8.0.7, Copyright (c), by Zend Technologies
That is related we think to release of:
php80-php-pecl-zip-1.19.3-2.el7.remi.x86_64 [53 KiB] Changelog by Remi Collet (2021-06-19):
- rebuild with libzip 1.8.0 and zstd support
Any ideas how to fix ? we tried removing / reinstalling / upgrading to php81 but still the same. We cannot get php80-php-zip to work
Thank you for any help