RuntimeException Zip PHP扩展未安装 [英] RuntimeException The Zip PHP extension is not installed

查看:67
本文介绍了RuntimeException Zip PHP扩展未安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Linux的新手,我刚刚安装了作曲家和laravel ...

I'm a newbie in Linux I just installed composer and laravel...

但是当我运行 laravel新项目时,出现以下错误:

but when i run the laravel new project i get the following error:

[RuntimeException]
The Zip PHP extension is not installed. Please install it and try again.

我不知道如何安装该扩展程序...

I don't know how to install that extension...

请帮助

推荐答案

尝试在命令行中输入:

sudo apt-get install php7.0-zip

通过以下任何途径进行验证:

Verify from any route with:

dd(get_loaded_extensions());

这对我有用,祝你好运.

This worked for me, good luck.

这篇关于RuntimeException Zip PHP扩展未安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆