snmp_rape Posted December 20, 2006 Share Posted December 20, 2006 apache 2.0php 5.0.4mysql 4.1.20godaddy virtual dedicatedokay, i am by no means a php master, but i understand how it works and currently i am taking php/mysql. i recently have upgraded to a virtual dedicated server,(my first attempt at webmaster). I have two public folders httpdocs and the secured httpsdocs. i have my phpbb2 forum successfully running with its previous database installed and working correctly, but my previous site store is getting all kinds of open_basedir errors. i know this has something to do with php disallowing open or including files outside of this parameter. my problem is i cant seem to change this value in httpd.include using vhost.conf. or by using httpd.conf. im at a loss and ive been working on this for a week before i finally have given up and need to ask for help. any light anyone can shed is greatly appreciated. forgive me if this is in the wrong section. Link to comment https://forums.phpfreaks.com/topic/31319-open_basedir-errors/ Share on other sites More sharing options...
snmp_rape Posted December 20, 2006 Author Share Posted December 20, 2006 anybody? Link to comment https://forums.phpfreaks.com/topic/31319-open_basedir-errors/#findComment-145443 Share on other sites More sharing options...
snmp_rape Posted December 21, 2006 Author Share Posted December 21, 2006 please anyone some help? Link to comment https://forums.phpfreaks.com/topic/31319-open_basedir-errors/#findComment-145669 Share on other sites More sharing options...
snmp_rape Posted December 23, 2006 Author Share Posted December 23, 2006 ok thanks alot for your help. Link to comment https://forums.phpfreaks.com/topic/31319-open_basedir-errors/#findComment-146803 Share on other sites More sharing options...
redarrow Posted December 23, 2006 Share Posted December 23, 2006 next time dont post so rushly were here to help we all got a lifes ok the forum guidelines you need to read that the first thing.it sounds like you have not set the folders to be allowed to be used make sure all folders are set to 777.if that dosent work then your have to bypass the folder permissions ok.this is a link you need to read to get you going.http://uk2.php.net/features.safe-mode Link to comment https://forums.phpfreaks.com/topic/31319-open_basedir-errors/#findComment-146812 Share on other sites More sharing options...
snmp_rape Posted December 23, 2006 Author Share Posted December 23, 2006 thank you so much redarrow!!!! i appreciate it, i just felt like noone was payn attention. i will try what you mentioned. Link to comment https://forums.phpfreaks.com/topic/31319-open_basedir-errors/#findComment-146975 Share on other sites More sharing options...
snmp_rape Posted December 23, 2006 Author Share Posted December 23, 2006 [code]Warning: main() [function.main]: open_basedir restriction in effect. File(/config.inc.php) is not within the allowed path(s): (/var/www/vhosts/surfboardhacker.net/httpdocs:/tmp:/var/www/vhosts/surfboardhacker.net/store/language/en:.) in /var/www/vhosts/surfboardhacker.net/httpdocs/store/language/en/lang.inc.php on line 2977Warning: main(config.inc.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/surfboardhacker.net/httpdocs/store/language/en/lang.inc.php on line 2977Warning: main() [function.include]: Failed opening 'config.inc.php' for inclusion (include_path='.:') in /var/www/vhosts/surfboardhacker.net/httpdocs/store/language/en/lang.inc.php on line 2977[/code]those are the errors im getting, after trying what you mentioned and the php manual. Link to comment https://forums.phpfreaks.com/topic/31319-open_basedir-errors/#findComment-147080 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.