0

我在 PHP 中安装了 composer 并启用了 openSSL 扩展,但我仍然收到错误消息(我重新启动了 wamp 两次)

Afflicto@Afflicto-PC /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]
4

1 回答 1

0

弄清楚了:

wamp 中的 php.ini 与 apache/wamp 使用的不同,所以我必须通过 wamp/bin/php/php5.4.3/php.ini 中的 php.ini 启用打开的 ssl 扩展

于 2013-07-12T01:28:04.410 回答