Zend Framework 2安装(需要帮助)

时间:2013-03-05 11:03:40

标签: php zend-framework2

您好我想在我的盒子上安装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?
告诉我我哪里出错了?

2 个答案:

答案 0 :(得分:1)

您使用的是Windows,因此您可以通过取消注释包含

的行来激活SSL
php_openssl.dll

答案 1 :(得分:0)

您必须取消注释extension=php_openssl.dllpath_to_wamp\bin\apache\Apache-version\bin\php.ini中的path_to_wamp\bin\php\php-version\php.ini并重启WAMP。