Wrapper is disabled in the server configuration by allow_url_fopen=0

If you encounter this error or find it in the error log:

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

You need to modify your php.ini file and enable the following setting:

allow_url_fopen = On

After making this change, restart Apache to apply the fix.

If you cannot modify the php.ini file directly, contact your hosting provider for assistance.

Was this article helpful?

Thank you for your feedback!

Still need help? Create a support ticket

Create a Ticket

Common Issues

Mar 24, 2026