Fatal error: Class 'ZipArchive' not found in

后端 未结 20 1429
既然无缘
既然无缘 2020-11-27 03:39

I have a problem that I install \'Archive_Zip 0.1.1\' on Linux server, but when I try to run the script to create the zip file it gives the fatal error

<
20条回答
  •  伪装坚强ぢ
    2020-11-27 03:42

    On ubuntu desktop, I had to do.

    sudo apt-get install php5.6-zip
    

    This installed the library but I still kept on getting the same error, so I had to restart apache using:

    sudo service apache2 restart
    

    and it worked.

提交回复
热议问题