poleposters Posted April 12, 2008 Share Posted April 12, 2008 Hi , I'm quite new to PHP. I got this error when I tried to include a URL file for a news feed. include() [function.include]: URL file-access is disabled in the server configuration I'm developing using XAMPP so I have access to the config files. But I don't know which one or what change. Can anyone help? Link to comment https://forums.phpfreaks.com/topic/100806-url-file-access-is-disabled-in-the-server-configuration-how-do-i-change-this/ Share on other sites More sharing options...
PFMaBiSmAd Posted April 12, 2008 Share Posted April 12, 2008 If you read the include() page in the php manual, it tells you what setting is needed to use URL's - http://www.php.net/include/ Link to comment https://forums.phpfreaks.com/topic/100806-url-file-access-is-disabled-in-the-server-configuration-how-do-i-change-this/#findComment-515533 Share on other sites More sharing options...
poleposters Posted April 12, 2008 Author Share Posted April 12, 2008 Thanks. My only problem is that I can't find the php.ini file. Its supposed to be in the apache/bin folder but its not. Do you know if it could be somewhere else? Link to comment https://forums.phpfreaks.com/topic/100806-url-file-access-is-disabled-in-the-server-configuration-how-do-i-change-this/#findComment-515547 Share on other sites More sharing options...
rhodesa Posted April 14, 2008 Share Posted April 14, 2008 Create a new php file (info.php for instance) and put this in it: <?php phpinfo(); ?> Load it up in a browser and it will tell you which php.ini file it is using Link to comment https://forums.phpfreaks.com/topic/100806-url-file-access-is-disabled-in-the-server-configuration-how-do-i-change-this/#findComment-517062 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.