Knowledge Base » Plesk VPS Hosting

How do I disable open basedir in Plesk?

Art. Nr: 44  |  Rating: 4/5 from 395 votes  |  Last Updated: Wed, Feb 22, 2012
starstarstarstarstar

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:

  1. Login to SSH on your Plesk VPS (This information will be contained within your welcome email)
  2. Edit the file "/var/www/vhosts/<your domain>/conf/vhost.conf"
  3. 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>

  4. Once that's imported, Save and exit.
  5. 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.

Comments

Good anti-hack prevention way using Plesk based web hosting.

Posted by matt - Mon, Jul 16th, 2012 9:35 AM

A good technique for Plesk based web hosting servers to avoid customers to steal bandwidth.

Posted by Krader - Thu, Jun 7th, 2012 9:59 AM

Seems Plesk is a lot more secure hosting control panel thatn its competitor cPanel :)

Posted by randy6 - Fri, May 18th, 2012 10:01 AM

Very helpful anti-hacker technique for all Plesk based web hosting types.

Posted by Valerie - Mon, May 7th, 2012 9:05 AM

Post your Comments

Popular Tutorials

RSS Feed
Please see below, some related knowledge base tutorials, which are related to your search query. Please feel free to contact us if you are not able to find what you are looking for.