Hello,
I just tried installing PEAR. I am running PHP 4 and CentOS4. I used yum to install PEAR. I updated the include path in the php.ini file. When I try to use PEAR, I get the errors listed below. Does anyone have any ideas why I am getting these errors?
Thanks in advance!
Warning: main(): open_basedir restriction in effect. File(/usr/share/pear/PEAR.php) is not within the allowed path(s): (/var/www/vhosts/xxxxxxxx/httpdocs:/tmp) in /var/www/vhosts/ygptech.com/httpdocs/pdf/index.php on line 7
Warning: main(PEAR.php): failed to open stream: Operation not permitted in /var/www/vhosts/xxxxxxx/httpdocs/pdf/index.php on line 7
Fatal error: main(): Failed opening required 'PEAR.php' (include_path='.:/usr/share/pear') in /var/www/vhosts/xxxxxxxx/httpdocs/pdf/index.php on line 7