How To Fix "Class 'ZipArchive' Not Found" on Dreamhost
A plugin I installed needed the ZipArchive functionality and I got this error:
Class 'ZipArchive' Not Found
I found out that on Dreamhost virtual hosting accounts, the older versions of PHP don't have ZipArchive enabled, but the PHP 5.3 version does. So all you need to do to be able to run scripts that need ZipArchive is:
- Login to your Dreamhost Panel.
- Click Manage Domains.
- Find your domain and under Web Hosting, click Edit.
- Under Web Options use the dropdown menu to select PHP 5.3. (It doesn't matter whether you choose CGI or FastCGI)
- Click Save Settings and wait approximately 10 minutes.
<< Home