Posted by russell.hunter on 02/25/06 04:24
I have pear installed on my web server. The problem is, I can't seem
to get it working!
Whenever I try to call one of the installed packages, for example:
require_once "DB.php";
I get the following error:
Warning: main(): open_basedir restriction in effect.
File(/usr/share/pear/DB.php) is not within the allowed path(s):
(/var/www/vhosts/xentek.co.uk/httpdocs:/tmp) in
/var/www/vhosts/xentek.co.uk/httpdocs/wda2-winestore/index.php on line
19
The value of my phpInfo(); says the following for open_basedir:
open_basedir | /var/www/vhosts/xentek.co.uk/httpdocs:/tmp | no value
This problem seems to be mentioned often when I did a search, but I
could not find any solution!
Please help if possible, I've spent too long already trying to get this
working!
Regards,
--
RH
[Back to original message]
|