HostICan - Shared Hosting

How do I disable open_basedir in Plesk?

Some applications require that open_basedir is disabled. This is a quick tutorial on how this can be done quickly and effectively. Please follow the outlined steps below:

  1. Login to SSH (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:

    <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

    # /usr/local/psa/admin/sbin/websrvmng -v –a

The above will then disable open_basedir on your Plesk VPS and you are done.

Related Articles
No related articles were found.