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/adapttosolve.co m/httpdocs:/tmp) in...
phpinfo() says I have the following open_basedir values set:
open_basedir | /home/httpd/vhosts/adapttosolve.co m/httpdocs:/tmp | no
value
Also, the open_basedir line in the php.ini is commented out so I guess
the value "/home/httpd/vhosts/adapttosolve.co m/httpdocs:/tmp" 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?
Thanks,
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/adapttosolve.co m/httpdocs:/tmp) in...
phpinfo() says I have the following open_basedir values set:
open_basedir | /home/httpd/vhosts/adapttosolve.co m/httpdocs:/tmp | no
value
Also, the open_basedir line in the php.ini is commented out so I guess
the value "/home/httpd/vhosts/adapttosolve.co m/httpdocs:/tmp" 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?
Thanks,