• Resolved giwrgos88

    (@giwrgos88)


    i’m trying to inlcude an external site in my pages but i have the error “

    Warning: require() [function.require]: URL file-access is disabled in the server configuration in …/website/wp-content/plugins/exec-php/includes/runtime.php(42) : eval()’d code on line 1

    does any one know how to do this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Ask your host to set allow_url_fopen = on or edit php.ini manually if you have access and you’re sure about the security implication by doing so

    *bump*

    I’m having this same issue right now. My host moved php.ini into my public_html directory so I could edit it, but I still get the error even after making changes to the php.ini. The tech said it looks like WordPress is going to the server php.ini and not my copy in the public_html folder.

    What do I do to fix this?

    Solved it. My php.ini file was missing

    ; Whether to allow include/require to open URLs (like https:// or ftp://) as fil$
    allow_url_include = On

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how to add an external site in my wordpress site?’ is closed to new replies.