Hi,
It seems if tried everything to change or disable open_basedir for a domain but for some or other reason it's not working. Even the Plesk KB http://kb.swsoft.com/article_41_432_en.html didn't help.
The system is FC4, PHP5, Plesk 8.0.1
Safe_mode is Off for this doamin.
I created a vhost.conf file in /var/www/vhots/domain.com/conf with many variations on the content, some examples include:
<Directory /var/www/vhosts/domain.com/httpdocs>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "none"
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "none"
</IfModule>
</Directory>
and
<Directory /var/www/vhosts/domain.com/httpdocs>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir none
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir none
</IfModule>
</Directory>
and
<Directory /var/www/vhosts/domain.com/httpdocs>
php_admin_flag engine on
php_admin_value open_basedir none
</Directory>
and
<Directory /var/www/vhosts/domain.com/httpdocs>
php_admin_flag engine on
php_admin_value open_basedir "/var/www/vhosts/domain.com/httpdocs:/tmp:/var/www/vhosts/domain.com/httpdocs/folder"
</Directory>
Then doing
/usr/local/psa/admin/websrvmngr --reconfigure-vhost --vhost-name=DOMAIN
and also this variation
/usr/local/psa/admin/sbin/websrvmng -v -a
then
service httpd restart
But when I look at phpinfo for the domain the open_basedir remains as
/var/www/vhosts/domain.com/httpdocs:/tmp
Any other advice wiil be appreciated.
It seems if tried everything to change or disable open_basedir for a domain but for some or other reason it's not working. Even the Plesk KB http://kb.swsoft.com/article_41_432_en.html didn't help.
The system is FC4, PHP5, Plesk 8.0.1
Safe_mode is Off for this doamin.
I created a vhost.conf file in /var/www/vhots/domain.com/conf with many variations on the content, some examples include:
<Directory /var/www/vhosts/domain.com/httpdocs>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "none"
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "none"
</IfModule>
</Directory>
and
<Directory /var/www/vhosts/domain.com/httpdocs>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir none
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir none
</IfModule>
</Directory>
and
<Directory /var/www/vhosts/domain.com/httpdocs>
php_admin_flag engine on
php_admin_value open_basedir none
</Directory>
and
<Directory /var/www/vhosts/domain.com/httpdocs>
php_admin_flag engine on
php_admin_value open_basedir "/var/www/vhosts/domain.com/httpdocs:/tmp:/var/www/vhosts/domain.com/httpdocs/folder"
</Directory>
Then doing
/usr/local/psa/admin/websrvmngr --reconfigure-vhost --vhost-name=DOMAIN
and also this variation
/usr/local/psa/admin/sbin/websrvmng -v -a
then
service httpd restart
But when I look at phpinfo for the domain the open_basedir remains as
/var/www/vhosts/domain.com/httpdocs:/tmp
Any other advice wiil be appreciated.