Fatal error: Class 'ZipArchive' not found and only downloads as ZIP from internet
I have a zip. I got
Fatal error: class 'ZipArchive' not found
when only accessing the zip file of the download on the internet. But on localhost it works fine. my local host version is 5.5.11 but my online server version is 5.4.33, I am struggling with this, anyone can give me some ideas .. Thanks Advanced
+3
source to share
2 answers
For the ZipArchive class . You need to install and enable the php zip extension.
See this link http://php.net/manual/en/zip.installation.php
+2
source to share