Here are the two methods of installing Laravel by Composer.
composer create-project laravel/laravel your-project-name
composer install
(To install dependencies after manually downloaded the files)
But when run this command I got some problem. I got this error message,
/master): failed to open stream: Unable to find the socket transport "ssl" -
did you forget to enable it when you configured PHP? in C:\wamp\www\laravel-m
aster\laravel\cli\tasks\bundle\providers\provider.php on line 69
PHP Warning: file_get_contents(http://github.com/patricktalmadge/bootstrapper/zipball
/master): failed to open stream: Unable to find the socket transport "ssl" -
did you forget to enable it when you configured PHP? in C:\wamp\www\laravel-m
aster\laravel\cli\tasks\bundle\providers\provider.php on line 69
After I Googled, there are various answers to this problem.
;extension=php_openssl.dll
Uncomment this line in php.ini file. But just remember there are two php.ini files in Wamp Server. It didn't work for me by right clicking Wamp icon and select php.ini file. Rather than I had to manuallu search for php.ini files. Those are in
- C:\wamp\bin\php\php5.3.13\php.ini
- C:\wamp\bin\apache\apache2.2.22\bin\php.ini
Sources :
http://laravel.com/docs/quick
http://stackoverflow.com/questions/13276298/cannot-install-laravel-bundle
http://www.nemesis.co.nz/2013/05/composer-and-wamp-unable-to-find-the-socket-transport-ssl/#comment-265
No comments:
Post a Comment