我无法用最后一个php5在我的Ubuntu虚拟机上安装php zip.6.
在上面找不到任何清晰的东西.
我仍然收到那个Apache错误:
PHP Fatal error: Class 'ZipArchive' not found in /var/www/uta/system/library/PHPExcel/PHPExcel/Writer/...
谢谢
我无法用最后一个php5在我的Ubuntu虚拟机上安装php zip.6.
在上面找不到任何清晰的东西.
我仍然收到那个Apache错误:
PHP Fatal error: Class 'ZipArchive' not found in /var/www/uta/system/library/PHPExcel/PHPExcel/Writer/...
谢谢
两个都试试
sudo apt-get install php-zip
或sudo apt-get install php5.6-zip
然后,您可能需要重新启动web服务器.
sudo service apache2 restart
或sudo service nginx restart
个如果要在centos或fedora OS上安装,请使用yum代替apt get.例如:-
sudo yum install php-zip
或