Fatal error: Class 'ZipArchive' not found in

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

    For me work, first review

       php -m
       php -version
    

    Later install the extension

    apt-get update 
    apt-get install php7.2-zip
    systemctl restart apache2
    

提交回复
热议问题