View Full Version : open_basedir problems

06-22-2006, 03:02 PM

I'm having major problems with open_basedir. I'm getting the following errors:

Warning: main(): open_basedir restriction in effect. File(/usr/share/pear/DB.php) is not within the allowed path(s): (/tmp:/home/default/funatyourfingertips.co.uk) in /home/default/funatyourfingertips.co.uk/user/htdocs/lib/persistence/DataAccess.class.php on line 3

Warning: main(DB.php): failed to open stream: Operation not permitted in /home/default/funatyourfingertips.co.uk/user/htdocs/lib/persistence/DataAccess.class.php on line 3

Fatal error: main(): Failed opening required 'DB.php' (include_path='.:/usr/share/pear') in /home/default/funatyourfingertips.co.uk/user/htdocs/lib/persistence/DataAccess.class.php on line 3

The open_basedir directive is commented out of my php.ini file. I've tried uncommenting it and setting it to Off, then rebooting my server, but that didn't seem to do any good. Can anyone suggest any other ways to try and fix this?

Any help would be much appreciated!