Xiode Posted November 27, 2006 Share Posted November 27, 2006 I just updated to 5.2 and now I am getting include problems. Where do I fix this problem in php.ini...Warning: include() [function.include]: URL file-access is disabled in the server Quote Link to comment https://forums.phpfreaks.com/topic/28625-updated-to-52-now-got-include-problems/ Share on other sites More sharing options...
trq Posted November 27, 2006 Share Posted November 27, 2006 Have you actually looked at your php.ini file? They are pretty well commented. Quote Link to comment https://forums.phpfreaks.com/topic/28625-updated-to-52-now-got-include-problems/#findComment-130932 Share on other sites More sharing options...
Xiode Posted November 27, 2006 Author Share Posted November 27, 2006 I have looked... Don't see anything.... Quote Link to comment https://forums.phpfreaks.com/topic/28625-updated-to-52-now-got-include-problems/#findComment-130936 Share on other sites More sharing options...
trq Posted November 27, 2006 Share Posted November 27, 2006 Sorry, my server is down atm or Id'e take a look at mine. can't remember what its called. You really shouldn't be using URL's to include file anyhow unless they are hosted remotely.Im sure someone will help you out soon. Quote Link to comment https://forums.phpfreaks.com/topic/28625-updated-to-52-now-got-include-problems/#findComment-130938 Share on other sites More sharing options...
Xiode Posted November 27, 2006 Author Share Posted November 27, 2006 It is a matter of my users.. Not just me.. I run a dedicated server. Some includes have to be called via a secure link "https://". Excluding remote inclusions on limits the vulnerability. It doesn't fix it. Quote Link to comment https://forums.phpfreaks.com/topic/28625-updated-to-52-now-got-include-problems/#findComment-130945 Share on other sites More sharing options...
Xiode Posted November 27, 2006 Author Share Posted November 27, 2006 I had to add it in myself.. It wasn't present in my php.ini file.[code]allow_url_include = On[/code] Quote Link to comment https://forums.phpfreaks.com/topic/28625-updated-to-52-now-got-include-problems/#findComment-130979 Share on other sites More sharing options...
wildteen88 Posted November 27, 2006 Share Posted November 27, 2006 That setting is new to PHP5.2 so I think you have to add it in manually. Quote Link to comment https://forums.phpfreaks.com/topic/28625-updated-to-52-now-got-include-problems/#findComment-131063 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.