subnet_rx Posted September 14, 2007 Share Posted September 14, 2007 I'm getting this error when a local file tries to get a file off the internet. Both of these settings in php.ini are on: ; Whether to allow the treatment of URLs (like http:// or ftp://) as files. allow_url_fopen = On ; Whether to allow include/require to open URLs (like http:// or ftp://) as files. allow_url_include = On I still get the error. Quote Link to comment https://forums.phpfreaks.com/topic/69377-url-file-access-not-enabled-on-this-server-configuration/ Share on other sites More sharing options...
wildteen88 Posted September 15, 2007 Share Posted September 15, 2007 Have you restarted your server (Apache, IIS etc). If you have restarted the server have you made sure PHP is reading the php.ini you are editing. Run phpinfo() to see which ini PHP is reading. Quote Link to comment https://forums.phpfreaks.com/topic/69377-url-file-access-not-enabled-on-this-server-configuration/#findComment-348970 Share on other sites More sharing options...
subnet_rx Posted September 17, 2007 Author Share Posted September 17, 2007 thanks, I was editing the wrong file. Quote Link to comment https://forums.phpfreaks.com/topic/69377-url-file-access-not-enabled-on-this-server-configuration/#findComment-350076 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.