After setting up a new 512mb web server droplet using: Ubuntu 14.04 // NGINX // PHP7.0 // MariaDB // Wordpress
I get the following error message using my backup app:
PHP ZipArchive Library is missing or disabled
I never encountered this error before on my other droplets with identical configs so I guess this is a recent change in some package. Strangely plugin via wordpress backend unzip/install works fine.
Does anyone know how to enable this feature with php7.0?
Here are the relevant entries from my php-info file: PHP Version 7.0.3-8+deb.sury.org~trusty+2
Additional .ini files parsed /etc/php/7.0/fpm/conf.d/20-zlib.ini Registered PHP Streams compress.zlib, phar Registered Stream Filters zlib.* ZLib Support enabled Stream Wrapper compress.zlib:// Stream Filter zlib.inflate, zlib.deflate Compiled Version 1.2.8 Linked Version 1.2.8 zlib.output_compression Off Off zlib.output_compression_level -1 -1 zlib.output_handler no value no value
I know it says zlib.output_compression Off Off but I have the same setting on another droplet and there it works the only difference on my other droplets is that PHP7 was installed as an upgrade to PHP5 while on my faulty droplet PHP7 was installed not as an update
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!