open_basedir problem, I can't change 'local value' in php.ini

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

I'm trying to get PEAR DB to work on my machine at serverbeach but I'm
getting the following error:

Warning: main(): open_basedir restriction in effect.
File(/usr/share/pear/DB.php) is not within the allowed path(s):
(/home/httpd/vhosts/ in...

phpinfo() says I have the following open_basedir values set:
open_basedir | /home/httpd/vhosts/ | no

Also, the open_basedir line in the php.ini is commented out so I guess
the value "/home/httpd/vhosts/" is set
somewhere else. If I do add "/usr/share/pear" to the open_basedir value
in php.ini it only changes the 'master value' and I get the same error.

I did get this pear demo working on a local unix box we have here
though. Here the open_basedir value is set to: open_basedir | no value
| no value

So I'm guessing that this open_basedir 'local value' is the problem.
Anyone have any idea how I can fix this?


Site Timeline