wrapper is disabled in the server configuration by allow_url_fopen=0 in

Last changed: August 29, 2014 Comments: 1

Eventually you will see the following error somehow, somewhere at sometime.

Warning: file_get_contents() [function.file-get-contents]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in

This means that you have disabled ( or already was ) the following option in your php.ini: allow_url_fopen. This directive has been set to Off. This option enables the URL-aware fopen wrappers that enable accessing URL object like files. So obviously you have to turn it on. Go to your php.ini and find “allow_url_fopen”, then set this to On.

allow_url_fopen = On

Now, save your file and restart apache.

  1. [...] wrapper is disabled in the server configuration by allow_url_fopen=0 in [...]

Just tell us...