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.

Comments

  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 :)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>