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