I am trying to create an API but running into the following error
file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?
Checking if OpenSSL and wrappers are enabled:
openssl: no
http wrapper: yes
https wrapper: no
wrappers: array(6) { [0]=> string(3) "php" [1]=> string(4) "file" [2]=> string(4) "glob" [3]=> string(4) "data" [4]=> string(4) "http" [5]=> string(3) "ftp" }
Tried everything I could find but nothing works.
PHP version: 5.6.1
OS: SLES 12
If you need more info please let me know.
In order to enable the php_openssl extension I did the following:
- Installed php-openssl via YAST in SLES 12
- added "extension=php_openssl.so" to the correct php.ini file