Fatal error: Class 'ZipArchive' not found in

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

    You also need to compile PHP with zip support. The manual says the following:

    In order to use these functions you must compile PHP with zip support by using the --enable-zip configure option.

    It's not enough to simply install the correct extensions on the server. Have a look at the installation instructions link Pekka posted earlier. My answer is just a clarification of his.

提交回复
热议问题