Sunday, March 2, 2008

Open_basedir restriction

If you are getting the following type error

Code:
open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/domain.com/httpdocs/groupoffice/classes/sysinfo.class.inc on line 34


create a "vhost.conf" file in that domain's conf directory

In the conf file, add the following:


Code:


php_admin_flag engine on
php_admin_value open_basedir "/home/httpd/vhosts/yourwebsite.com/httpdocs/:/"




Rebuid Apache using

Code:
/usr/local/psa/admin/sbin/my_apci_rst -v -a


For more information please refer to
http://forums.ev1servers.net/showthread.php?s=cf104255ef51c34f438b486c3c886de3&threadid=36637

No comments: