Fatal error: Class 'ZipArchive' not found in

后端 未结 20 1420
既然无缘
既然无缘 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:49

    You need to check the PHP version

    If php version is 5.6 then , You need to install php5.7-zip

    sudo apt-get install php5.6-zip
    

    and then

    sudo service apache2 restart
    

    Hope it helps

提交回复
热议问题