There are some applications that require open_basedir be disabled on your Plesk VPS. This is a quick tutorial on how you can disable open_basedir on your Plesk VPS quickly and effectively. Please follow the outlined steps below to disable open_basedir:
- Login to SSH on your Plesk VPS (This information will be contained within your welcome email)
- Edit the file "/var/www/vhosts/<your domain>/conf/vhost.conf"
- Input the following content into vhost.conf file on your Plesk VPS:
<Directory /var/www/vhosts/@domain_name@/httpdocs>
php_admin_value open_basedir none
</Directory>
- Once that's imported, Save and exit.
- Then run the following command in shell on your Plesk VPS:
/usr/local/psa/admin/sbin/websrvmng -v –a
The above will then disable open_basedir on your Plesk VPS and you are done.
Good anti-hack prevention way using Plesk based web hosting.
Posted by matt - Mon, Jul 16th, 2012 9:35 AM