Laravel 4安装与作曲家

I wanted to try out the Laravel 4 but, unfortunately, got stuck at the very beginning. When I try to install it using composer as mentioned in the Laravel 4 documentation, I get the following error:

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

I have PHP 5.5.0 with OpenSSL 0.9.8x running on a Mountain Lion 10.8.4. Does anyone have a clue how on earth I can fix this?

I have tried googling through all of the dark corners of the internet, 2006 forums but to no avail......

Any help is appreciated. Thank you!

Edit your php.ini file and add

extension=php_openssl.dll

and then restart the apache and your ssl should be detected.

Hope this will help.

If you are using WAMP you should edit php.ini in your Apache folder. for some reason composer uses that php.ini instead of php.ini stored in php folder.