无法安装Laravel(Windows)

时间:2017-06-05 08:44:51

标签: php windows laravel composer-php install

  C:\Users\User>composer global require "laravel/installer"
Changed current directory to C:/Users/User/AppData/Roaming/Composer
You are running Composer with SSL/TLS protection disabled.
Warning: Accessing packagist.org over http which is an insecure protocol.
Using version ^1.3 for laravel/installer
./composer.json has been updated
Loading composer repositories with package information
Warning: Accessing packagist.org over http which is an insecure protocol.
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - guzzle/guzzle v3.9.3 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - guzzle/guzzle v3.9.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - guzzle/guzzle v3.9.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - guzzle/guzzle v3.9.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - guzzle/guzzle v3.8.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - guzzle/guzzle v3.8.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - rackspace/php-opencloud dev-master requires guzzle/guzzle ~3.8 -> satisfiable by guzzle/guzzle[v3.8.0, v3.8.1, v3.9.0, v3.9.1, v3.9.2, v3.9.3].
    - Installation request for rackspace/php-opencloud dev-master -> satisfiable by rackspace/php-opencloud[dev-master].

无法在Windows上安装Laravel 5.4,我是beck-end的初学者,所以我以前从未使用过作曲家,我安装了php和composer,将curl解压缩到根目录,但是我有一个错误。

1 个答案:

答案 0 :(得分:0)

你没有php curl扩展名。

[Install curl for windows][1]
     

1:   How do I install cURL on Windows?

你应该用russion语言添加问题来堆叠溢出俄语。 Stack on russian