wrapper is disabled in the server configuration by allow_url_fopen=0 in
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.
wrapper is disabled in the server configuration by allow_url_fopen=0 in,
Home › Forums › wrapper is disabled in the server configuration by allow_url_fopen=0 in
Tagged: HTTP, PHP, PHP MySQL quick how to, php.ini
This topic contains 0 replies, has 1 voice, and was last updated by
MrXHellboy 2 years, 6 months ago.
You must be logged in to reply to this topic.