1

Hello i want to install zend framework 2 on my box. I am following this link -- http://framework.zend.com/manual/2.0/en/user-guide/skeleton-application.html. when i use

 E:\Nisarg\ZendSkeletonApplication>php composer.phar create-project --repository-
url="http://packages.zendframework.com" zendframework/zendframework  c:\wamp\www
\zc

It show me the error that shown below

[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?

tell me where am i goes wrong?

Nisarg
  • 3,024
  • 5
  • 32
  • 54
  • The core is going to be `Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?` – Pekka Mar 05 '13 at 11:05
  • possible duplicate of [Enable SSL in PHP fsockopen()](http://stackoverflow.com/questions/5494376/enable-ssl-in-php-fsockopen) – Pekka Mar 05 '13 at 11:06
  • how can i do enable ssl? – Nisarg Mar 05 '13 at 11:07

2 Answers2

1

You are on Windows, so you should be able to activate SSL by uncommenting the line that includes

php_openssl.dll
Pekka
  • 442,112
  • 142
  • 972
  • 1,088
  • Did you restart the server? – Pekka Mar 05 '13 at 11:36
  • 2
    http://www.nemesis.co.nz/2013/05/composer-and-wamp-unable-to-find-the-socket-transport-ssl/ Check this link if you have WAMP, it worked for me, since I had to enable extension=php_openssl.dll in both php.ini files, one in C:\wamp\bin\apache\ApacheYourVersion\bin\php.ini and the other is in C:\wamp\bin\php\phpYourVersion\php.ini then restart WAMP and you can use Composer – zokibtmkd Jun 04 '13 at 20:55
0

You have to uncomment the extension=php_openssl.dll in path_to_wamp\bin\apache\Apache-version\bin\php.ini and path_to_wamp\bin\php\php-version\php.ini and restart WAMP.

dreamcrash
  • 47,137
  • 25
  • 94
  • 117
Defrag
  • 146
  • 1
  • 5