Solved: URL file-access is disabled in the server configuration

If you get an error similar to:

URL file-access is disabled in the server configuration

on 1and1, create a blank file called php.ini, and place the following line in the file.

allow_url_fopen = ON

then upload the file to the root folder of the domain, and it should solve the problem.

7 Responses to “Solved: URL file-access is disabled in the server configuration”

Read below or add a comment...

  1. Carlos says:

    This works but the php.ini file should be placed in the same directory as the script trying to make the outbound call.

  2. Sasha Dzeletovic says:

    Thanks for the tip!
    I want to confirm that the solution works when you put php.ini in the same directory as script trying to make outbound call.

  3. Missy says:

    Hi

    I’m with 1and1 also. I run WP 3.2.1 on PHP5.

    I added that line to a php.ini file in my root AND script folders, and still I get the error.

    Any clues?

    Thanks in advance :)

  4. chaz mcgaz says:

    This solution works for me on my 1and1 sites. Thanks for the tip.

  5. Alan says:

    Thanks, this worked for me too, running WordPress 3.3.2 on 1&1 servers.
    Brilliant.

  6. Nork says:

    Gracias! Funciona!

  7. Vikrant says:

    Thanks. It Works for me. ;)

Leave A Comment...

*