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? Quote Link to comment 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/ Quote Link to comment 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? Quote Link to comment 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 Quote Link to comment 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.