Reputation: 65
I have been trying to install Laravel framework on WAMP. I been following the steps from http://laravel.com/ and Installing Laravel 4.1 in Windows 7 // Make .phar file globally available to windows command line
When i run the command composer create-project laravel/laravel --prefer-dist , getting the error message [RuntimeException] You must enable the openssl extension to download files via https
But i have enabled openssl in php.ini by removing the comment sign. Please help
Upvotes: 1
Views: 4711
Reputation: 1315
You follow given Only 1 step and install laravel 5 and composer in your machine
[1]Paste this in cmd : composer create-project laravel/laravel
when you run above command it will automatically install composer and laravel
OPTIONAL:
if error your configuration does not allow connection to
http//packages.firegento.com in cmd follow this command :
composer config -g secure-http false
Upvotes: 0
Reputation: 195
This worked for me. Hope this helps you.
localhost:8000
Upvotes: 0
Reputation: 49
Wamp uses 2 php.ini first one that you changed from the Wamp panel and second one that located on Apache folder. i think on the wamp/bin/apache/bin make sure to enable openssl on both and restart the Wamp.
Upvotes: 1
Reputation: 94662
If you are using WAMPServer here is the problem:
WAMPServer's PHP CLI ( Command Line Interface ) i.e. running php.exe from command line uses a different php.ini to the one used by PHP in Apache.
Edit \wamp\bin\php\php5.x.y\php.ini
Activate the extensions you require the PHP CLI to have access to in the usual way i.e. remove the comment ';' from the extension=php_xxxx.dll
line.
Upvotes: 1