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.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Site Preview Issues in Plesk

  This article details how to fix a malfunctioning "Site Preview" button.The Plesk control...

How to enable SSH Terminal for FTP user within Plesk?

  The following tutorial will show you how to enable SSH access for any domain name in...

How do I setup a catchall Email in Plesk?

  A catch all email address can come in handy when you need to send an email address to an...

How do I manage Crontab in Plesk?

  Managing Cron Tab will help automate your website. Crontab is used for running scripts at...

How do I find the Plesk admin password?

  Finding the Plesk admin password is relativity easy. Simply follow our below steps, and...

Powered by WHMCompleteSolution