Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? apache apache

Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?


I solved it in XAMPP by uncommenting ;extension=php_openssl.dll in /apache/bin/php.ini despite phpinfo() telling me /php/php.ini was the loaded ini file.

EDIT: I guess Ezra answer is the best solution directly adding the extension line to the appropriate ini file.


I had to add extension=php_openssl.dll to my php.ini file located in xampp/php/php.ini. Somehow it was not there, after adding it and restarting Apache everything was working fine.


just add two lines in your php.ini file.

extension=php_openssl.dllallow_url_include = On

its working for me.