【发布时间】:2017-11-05 23:55:17
【问题描述】:
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的初学者,所以我以前从未使用过composer,我安装了php和composer,将curl解压到根目录,但是我有一个错误。
【问题讨论】:
-
请用英文询问
-
curl安装后你重启apache了吗?
-
需要安装curl作为PHP扩展,一般是编辑php.ini文件
-
我在那儿写了什么?
-
非常感谢!这是一个很棒的工具!
标签: php windows laravel composer-php installation