Fatal error: Class 'ZipArchive' not found in

后端 未结 20 1390
既然无缘
既然无缘 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 04:02

    For CentOS based server use

    yum install php-pecl-zip.x86_64
    

    Enable it by running: echo "extension=zip.so" >> /etc/php.d/zip.ini

提交回复
热议问题