使用laravel 5样板文件时出现错误



我想使用https://github.com/rappasoft/laravel-5-boilerplate作为我的Laravel项目的起点,但是当我做composer install时,我得到以下错误:

Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
  Problem 1
    - Installation request for guzzle/guzzle v3.9.3 -> satisfiable by guzzle/guzzle[v3.9.3].
    - guzzle/guzzle v3.9.3 requires ext-curl * -> the requested PHP extension curl is missing from your system.
  Problem 2
    - Installation request for stripe/stripe-php v1.18.0 -> satisfiable by stripe/stripe-php[v1.18.0].
    - stripe/stripe-php v1.18.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
  Problem 3
    - guzzle/guzzle v3.9.3 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - league/oauth1-client 1.5.0 requires guzzle/guzzle 3.* -> satisfiable by guzzle/guzzle[v3.9.3].
    - Installation request for league/oauth1-client 1.5.0 -> satisfiable by league/oauth1-client[1.5.0].

如何解决这个问题?

您缺少php5-curl - CURL module for php5

sudo apt-get install php5-curl

并尝试重新安装。

如果你使用的是ubuntu 16.04,默认是PHP 7。你缺少php-curl - CURL模块

  sudo apt install php-curl

相关内容

  • 没有找到相关文章

最新更新