无法在Debian 8(64位)上安装laravel

时间:2019-12-09 10:18:32

标签: laravel debian

我正在尝试在debian服务器上安装幼虫并收到此错误。

Problem 1
    - laravel/installer v3.0.1 requires ext-zip * -> the requested PHP extension zip is missing from your system.
    - laravel/installer v3.0.0 requires ext-zip * -> the requested PHP extension zip is missing from your system.
    - Installation request for laravel/installer ^3.0 -> satisfiable by laravel/installer[v3.0.0, v3.0.1].

我试图安装php7.2-zip,然后得到了它。

Reading package lists... Done
Building dependency tree
Reading state information... Done
php7.2-zip is already the newest version.
The following package was automatically installed and is no longer required:
  libuuid-perl
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 84 not upgraded.

它说ext-zip已经存在。但是laravel说它不存在

1 个答案:

答案 0 :(得分:0)

我认为这与PHP无关,而是Laravel安装程序。我以前曾遇到过这个问题,但我记不清了,但我可以指出对您有用的“相对”方向。据我所知,我必须安装laravels 1.0安装程序,然后它将从那里进行更新,从而解决了我的问题。我希望我的决心对您有用:)