Fatal error: Class 'ZipArchive' not found in

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

    I'm not seeing it here, so I'd like to add that on Debian/Ubuntu you may need to enable the extension after installing the relative package. So:

    sudo apt-get install php-zip
    sudo phpenmod zip
    sudo service apache2 restart
    

提交回复
热议问题