Since I've installed the last update, then i've got a problem with the OpenBase_dir directive of PHP.
For example I've got three domains on my Plesk 11.0.9-server. All domains are configured with CGI.
If i change the Openbase_dir directive on domain 1, then it also changes for example domain3 among others..
This results in a broken website. If i visit domain3 i receive the following error-message:
Warning: require(): open_basedir restriction in effect. File(/var/www/vhosts/domain3.com/httpdocs/wp-blog-header.php) is not within the allowed path(s): (/var/www/vhosts/domain1.com/:/tmp/) in /var/www/vhosts/domain3.com/httpdocs/index.php on line 17 Warning: require(/var/www/vhosts/domain3.com/httpdocs/wp-blog-header.php): failed to open stream: Operation not permitted in /var/www/vhosts/domain3.com/httpdocs/index.php on line 17 Warning: require(): open_basedir restriction in effect. File(/var/www/vhosts/domain3.com/httpdocs/wp-blog-header.php) is not within the allowed path(s): (/var/www/vhosts/domain1.com/:/tmp/) in /var/www/vhosts/domain3.com/httpdocs/index.php on line 17 Warning: require(/var/www/vhosts/domain3.com/httpdocs/wp-blog-header.php): failed to open stream: Operation not permitted in /var/www/vhosts/domain3.com/httpdocs/index.php on line 17 Fatal error: require(): Failed opening required './wp-blog-header.php' (include_path='.:') in /var/www/vhosts/domain3.com/httpdocs/index.php on line 17
If I configure all the domain as a Apache-module, then the problem doesn't happen.
What's wrong?
For example I've got three domains on my Plesk 11.0.9-server. All domains are configured with CGI.
If i change the Openbase_dir directive on domain 1, then it also changes for example domain3 among others..
This results in a broken website. If i visit domain3 i receive the following error-message:
Warning: require(): open_basedir restriction in effect. File(/var/www/vhosts/domain3.com/httpdocs/wp-blog-header.php) is not within the allowed path(s): (/var/www/vhosts/domain1.com/:/tmp/) in /var/www/vhosts/domain3.com/httpdocs/index.php on line 17 Warning: require(/var/www/vhosts/domain3.com/httpdocs/wp-blog-header.php): failed to open stream: Operation not permitted in /var/www/vhosts/domain3.com/httpdocs/index.php on line 17 Warning: require(): open_basedir restriction in effect. File(/var/www/vhosts/domain3.com/httpdocs/wp-blog-header.php) is not within the allowed path(s): (/var/www/vhosts/domain1.com/:/tmp/) in /var/www/vhosts/domain3.com/httpdocs/index.php on line 17 Warning: require(/var/www/vhosts/domain3.com/httpdocs/wp-blog-header.php): failed to open stream: Operation not permitted in /var/www/vhosts/domain3.com/httpdocs/index.php on line 17 Fatal error: require(): Failed opening required './wp-blog-header.php' (include_path='.:') in /var/www/vhosts/domain3.com/httpdocs/index.php on line 17
If I configure all the domain as a Apache-module, then the problem doesn't happen.
What's wrong?
Last edited: