Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

Warning: file_get_contents(): Unable to find the wrapper "https"

$
0
0
Hi guys,

I have ran into a problem while running a PHP script, the code that causes the warning:

Code:

file_get_contents( 'https://api.wordpress.org/secret-key/1.1/salt/' );
The warning message:

Code:

Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP
Some results from phpinfo

Code:

<?php phpinfo(); ?>' | php 2>&1 |grep -i ssl
SSL => supported
OpenSSL support => disabled (install ext/openssl)

Thanks

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>