On running composer global require "laravel/installer=~1.1"
, I get this error :
[RuntimeException]
You must enable the openssl extension to download files via https
I have this error when trying to install a package. I have seen many post on Stack Overflow. However, I did all what they do, and nothing works.
- Check my PHP CLI path.
php -i
said that isC:\xampp\php\
- Uncomment the
extension=php_openssl.dll
line inC:\xampp\php\php.ini
. - Check if
openssl
extension is inC:\xampp\php\ext
All this don't make work my Composer installation.
Thanks