2013-07-12 280 views
0

我已经安装了作曲家和OpenSSL扩展能够在PHP,但我仍然得到错误(我重新启动WAMP两次)通过作曲家安装laravel 4?

[email protected] /cygdrive/e/wamp/www/wirezapp2 
$ composer create-project laravel/laravel wirezapp --prefer-dist 
Installing laravel/laravel (v4.0.5) 
    - Installing laravel/laravel (v4.0.5) 
    Downloading: 100% 
    Downloading: 100% 
    Downloading: 100% 

[Composer\Downloader\TransportException] 
The "http://nodeload.github.com/laravel/laravel/zip/v4.0.5" file could not 
be downloaded: failed to open stream: Unable to find the socket transport " 
ssl" - did you forget to enable it when you configured PHP? 



create-project [-s|--stability="..."] [--prefer-source] [--prefer-dist] [--repository- 
url="..."] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] 
[-- keep-vcs] [package] [directory] [version] 

回答

0

想通了:

在WAMP的php.ini中比使用的不同通过apache/wamp,所以我不得不通过在wamp/bin/php/php5.4.3/php.ini中找到的php.ini启用打开的ssl扩展