更新依赖项composer时出错

时间:2013-06-03 18:47:58

标签: symfony laravel laravel-4 composer-php

当我尝试更新时,我收到此错误:

C:\wamp\www\bwon>composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing symfony/finder (2.3.x-dev v2.3.0)
    Downloading: 100%
    Downloading: 100%
    Downloading: 100%

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

这是GitHub问题还是作曲家问题?在更新/下载作曲家包之前我没有遇到过麻烦。

1 个答案:

答案 0 :(得分:0)

我有同样的问题,我通过启用PHP_OPENSSL.dll来解决它

如果你有mac,那么只需运行控制台命令

sudo port install php5-openssl

这就是全部

最佳, 安东尼奥