Tandem Posted January 17, 2007 Share Posted January 17, 2007 I'm having some problems trying to use PEAR packages. Whenever i try to use anything from the pear directory i get an error about an open_basedir restriction.Here is the error:Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(/HTML/BBCodeParser.php) is not within the allowed path(s): (/tmp:/home/***) in /home/***/testbb.php on line 7The pear directory is one of my include paths so it's no that.I am the root user so i have access to everything, could anyone suggest anything i could try to get it to work?Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/34592-open_basedir-restrictions-when-using-pear/ Share on other sites More sharing options...
ted_chou12 Posted January 17, 2007 Share Posted January 17, 2007 from the looks of the error, it looks like the page you are trying to include is not in the right place...Ted Link to comment https://forums.phpfreaks.com/topic/34592-open_basedir-restrictions-when-using-pear/#findComment-162947 Share on other sites More sharing options...
Tandem Posted January 17, 2007 Author Share Posted January 17, 2007 One of my include paths by default is /usr/share/pear which is my pear directory, and the file i am including is /usr/share/pear/HTML/BBCodeParser.phpI've been battling with this for days and treid almost everything so i think it must be something to do with configuration. Link to comment https://forums.phpfreaks.com/topic/34592-open_basedir-restrictions-when-using-pear/#findComment-162956 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.