neex1233 Posted December 4, 2010 Share Posted December 4, 2010 I'm trying to enable URL includes (allow_url_include), and I put "On" in the php.ini file, but it doesn't work. In the phpinfo() file, it also says they are off. Could somebody please help me?? Thanks. Link to comment https://forums.phpfreaks.com/topic/220622-allow_url_include/ Share on other sites More sharing options...
neex1233 Posted December 4, 2010 Author Share Posted December 4, 2010 Btw, here's the errors: Warning: include() [function.include]: http:// wrapper is disabled in the server configuration by allow_url_include=0 in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\Codes\lyt.php on line 14 Warning: include(http://domain.com/codes/css/ff.php) [function.include]: failed to open stream: no suitable wrapper could be found in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\Codes\lyt.php on line 14 Warning: include() [function.include]: Failed opening 'http://domain.com/codes/css/ff.php' for inclusion (include_path='.;C:\php5\pear') in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\Codes\lyt.php on line 14 Link to comment https://forums.phpfreaks.com/topic/220622-allow_url_include/#findComment-1142810 Share on other sites More sharing options...
PFMaBiSmAd Posted December 4, 2010 Share Posted December 4, 2010 Why are you trying to include using a URL? That takes a minimum of 10 times longer than including a file through the file system. Link to comment https://forums.phpfreaks.com/topic/220622-allow_url_include/#findComment-1142811 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.