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

Last changed: September 19, 2011 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.

VN:F [1.9.21_1169]
Rating: 8.2/10 (21 votes cast)
VN:F [1.9.21_1169]
Rating: +8 (from 8 votes)
wrapper is disabled in the server configuration by allow_url_fopen=0 in, 8.2 out of 10 based on 21 ratings

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

This topic contains 0 replies, has 1 voice, and was last updated by  MrXHellboy 3 years, 5 months ago.

Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.