3
votes

i have create zip achiever. i got

Fatal error: Class 'ZipArchive' not found

error while only accessing download zip file on online.but in local host it's works fine. my local host version is 5.5.11 ,but my online server version 5.4.33, i am battling with this, anyone can give me some ideas.. Thanks Advanced

2
are you using windows are linux? - RaMeSh
please verify below answer. - RaMeSh

2 Answers

2
votes

For the ZipArchive class to be present. You need php's zip extension installed and enabled.

See this link http://php.net/manual/en/zip.installation.php

0
votes

PHP needs to have the zip extension installed to use ZipArchive class.

Folow the Link to Install