Page 1 of 1

Anyone know how to enable Zip Archive extension for PHP in Wordpress?

Posted: Wed Nov 28, 2018 5:35 pm
by dwhittaker
I've installed a migration plugin for Wordpress to migrate a website I just finished to the domain root directory. It's the top rated plugin for migration and I'd like to use it but upon it's initial system requirements test, it keeps failing and gives me a "Zip Archive Enabled: Fail" error. The corresponding information says "For compression to work the ZipArchive extension for PHP is required." I'm running the current version of PHP so that's not the issue.

The weird thing is, this plugin works fine on my own Wordpress based website. Both mine and my clients sites use the exact same Theme and have pretty much the exact same plugins active. I have no clue where to find the reference to this Zip Archive extension in the myriad of PHP files in my Wordpress installation either.

Anyone have any suggestions?

Re: Anyone know how to enable Zip Archive extension for PHP in Wordpress?

Posted: Thu Nov 29, 2018 3:04 pm
by drew.phillips
The zip extension and ZipArchive libraries are built into PHP and can't be enabled dynamically.

The reason zip is not included in our PHP 5.6 install is due to PHP build issues with that particular library and other PHP modules we have included in PHP 5.6. It's unfortunate that we can't get that included with our platform but is a technical limitation that we are unable to overcome at this time. Enabling PHP's built in zip library causes the entire build process to fail at the very end due to issues linking things together.