您好我想在我的盒子上安装zend framework 2。我正在关注此链接 - http://framework.zend.com/manual/2.0/en/user-guide/skeleton-application.html。当我使用
E:\Nisarg\ZendSkeletonApplication>php composer.phar create-project --repository-
url="http://packages.zendframework.com" zendframework/zendframework c:\wamp\www
\zc
它显示了下面显示的错误
[Composer\Downloader\TransportException]
The "http://packages.zendframework.com/packages.json" file could not be dow
nloaded: failed to open stream: Unable to find the socket transport "ssl" -
did you forget to enable it when you configured PHP?
告诉我我哪里出错了?
答案 0 :(得分:1)
您使用的是Windows,因此您可以通过取消注释包含
的行来激活SSLphp_openssl.dll
答案 1 :(得分:0)
您必须取消注释extension=php_openssl.dll
和path_to_wamp\bin\apache\Apache-version\bin\php.ini
中的path_to_wamp\bin\php\php-version\php.ini
并重启WAMP。