• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

How do i change open_basedir?

clinton4

Regular Pleskian
Hi,

I'am running Plesk 9.5.4 on a CentOS 5 (final) box.

Now, how can i change (set to none) the open_basedir ?

I have tried to create a vhost.conf file in the conf folder and restarted httpd.

This is what i have tried in the vhost.conf file:

<Directory /srv/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>

but when i echo out phpinfo i get this in open_basedir:
Local Value: /var/www/vhosts/domain.com/httpdocs:/tmp
Master value: no value
 
Argh! Is it not possible to contact Parallels with a question like this without having to pay $75 USD ?
 
Working Config in Plesk 9.x

This config worked for me in Plesk 9.x. You may need to create a vhost.conf if doesn't exist. Hope this helps.

/srv/www/vhosts/domain.com/conf # cat vhost.conf
<Directory /srv/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>
Options +Includes -ExecCGI
</Directory>

cd /usr/local/psa/admin/sbin
# ./websrvmng --reconfigure-vhost --vhost-name=domain.com
 
Back
Top