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

Hi guys,

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

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

The warning message:

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

Some results from phpinfo


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

Thanks

Install php5-openssl

Restart Apache afterwards.

Thanks Miuku!

:kiss: