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

Views: 5180 Last modified: September 19th, 2011 Comments: 0

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.

VN:F [1.9.13_1145]
Rating: 7.1/10 (10 votes cast)
VN:F [1.9.13_1145]
Rating: +7 (from 7 votes)
wrapper is disabled in the server configuration by allow_url_fopen=0 in, 7.1 out of 10 based on 10 ratings

    Mail this!

    To: From:Sum {2+9} =  
    Anything to add ?

        You must be logged in to post a comment.