file_get_contents() [function.file-get-contents]: Unable to find the wrapper "https"

I’m working on setting up credit card processing and needed to use a workaround for CURL, and the following code worked fine when I was using the test server (which wasn’t calling an SSL URL), but now when I am testing it on the working server with https, it doesn’t work ("failed to open stream").

To alow https wraper : – the php_openssl extension must existe and anabled – allow_url_includemust be set to on

in the php.ini file you add this lines if not exists:

extension=php_openssl.dll

allow_url_include = On

Leave a Reply