php7.1-zip丢失,无法安装

时间:2019-06-17 07:48:36

标签: php

我试图通过安装程序安装Symfony框架,但是每当我执行命令symfony new --full project_name时,我都会得到一个错误,指出缺少PHP-zip

Problem 1
- Installation request for facebook/webdriver 1.7.1 -> satisfiable by facebook/webdriver[1.7.1].
- facebook/webdriver 1.7.1 requires ext-zip * -> the requested PHP extension zip is missing from your system.

Problem 2
    - facebook/webdriver 1.7.1 requires ext-zip * -> the requested PHP extension zip is missing from your system.
    - symfony/panther v0.4.1 requires facebook/webdriver ^1.5 -> satisfiable by facebook/webdriver[1.7.1].
    - Installation request for symfony/panther v0.4.1 -> satisfiable by symfony/panther[v0.4.1].

我使用的是php7.1,所以我尝试使用apt apt install php7.1-zip安装它,但还是出现错误

E: Unable to locate package php7.1-zip

我尝试了很少的存储库,但在Internet上遵循了教程,但是在7.1 PHP版本中均可使用。 也尝试过this,但仍然没有任何改变。

0 个答案:

没有答案