Reputation: 125
I am getting the following error and I am hosting the a local server using WAMP and using version 5.6.19 of PHP
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?
Upvotes: 0
Views: 9709
Reputation:
I think what you can try is to:
Install php5-openssl Restart Apache afterwards.
It will likely to solve that problem.
And there's also another possible solution: You can find the "php.ini" file, and open it, you will find the line: extension=php_openssl.dll And is there a semicolon at beginning? If yes, simply delete it and it will work.
If that doesn't work or you have further issues, comment me and I will help you! :)
Upvotes: 2
Reputation: 6608
You need to enable php-openssl
in your WAMP.
For this, click on the WAMP icon in your systemtray. Click on PHP. Then hover the PHP Extensions
. Then click on the php_openssl
Upvotes: 5