错误的Class 'ZipArchive' not found与maatwebsite/excel导出表用户在laravel。
我已经尝试过sudo apt-get install php7.0-zip,但这给了sudo: apt-get: command not found。那么,除了sudo apt-get install php7.0-zip之外,还有其他方法来解决这个问题吗?或者如何解决sudo: apt-get: command not found问题?
发布于 2019-10-30 19:43:34
看起来您的php没有内置zip扩展。试着按照下面的步骤安装一个带有扩展的版本:
brew update
brew install php@7.3
brew link php@7.3https://stackoverflow.com/questions/58626578
复制相似问题