2013-07-12 228 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擴展