简体   繁体   中英

Piwigo "Abort pclzip.lib.php : Missing zlib extensions" error

I'm trying to install the Community Plugin for Piwigo and am getting the following error:

Abort pclzip.lib.php : Missing zlib extensions

I've been searching and trying as much as I can and still am not able to solve this issue. It looks to be something about gzopen really now being gzopen64 .

I have verified I have zlib installed. I have the latest and greatest Piwigo 2.8.0.

I've found these and tried them - sadly it hasn't helped:

http://www.thomasmonaco.com/pclzip-lib-php-missing-zlib-extensions/ https://forum.synology.com/enu/viewtopic.php?t=33684

This issue was supposed to be fixed in 2.7.2 per the following link: http://piwigo.org/forum/viewtopic.php?id=23759

However I don't know HOW to implement this fix.

Any help is extremely appreciated.

Piwigo version: 2.8.0
PHP version: 5.6.19
MySQL version: 5.6.27
Piwigo URL: http://{localserver}/piwigo

Figured out solution.

the PHP wasn't compiled with zlib that @OhgodWhy pointed out.

I went to /usr/ports/lang/php56 and did make deinstall clean

then reinstalled php56 with the php56-zlib module.

And everything works!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM