P
phorium
Guest
I have a fresh install of Suse 10.0 running Plesk 8. The server is set up running php 5 using the apache module. Any page I visit on the server gives an open_basedir error message claiming the following:
Warning: %v%v() [function.%v]: open_basedir restriction in effect.
File(/usr/share/php5/config.inc.php) is not within the allowed path(s):
(/srv/www/vhosts/domain.com/subdomains/somename/httpdocs:/tmp)
Checking the php.ini file (/etc/php5) shows that /usr/share/php5 is set as the include path, but the error still persists.
Creating a vhost.conf file and adding /usr/share/php5 to the open_basedir setting fixes the problem, but I don't want to have to create a custom vhost.conf file for every domain I add on the server. What Plesk file can I edit to include this directory by default??
Warning: %v%v() [function.%v]: open_basedir restriction in effect.
File(/usr/share/php5/config.inc.php) is not within the allowed path(s):
(/srv/www/vhosts/domain.com/subdomains/somename/httpdocs:/tmp)
Checking the php.ini file (/etc/php5) shows that /usr/share/php5 is set as the include path, but the error still persists.
Creating a vhost.conf file and adding /usr/share/php5 to the open_basedir setting fixes the problem, but I don't want to have to create a custom vhost.conf file for every domain I add on the server. What Plesk file can I edit to include this directory by default??