Plesk Support - Plesk Related Faqs, Support, Tutorials

How do I remove open_basedir in Plesk?

The following article explains how to remove open_basedir in Plesk. This may be necessary to run programs that need to access data in directories outside the directory of the program.

To remove open_basedir in Plesk, please follow these steps:

1. Connect to your VPS using a shell (SSH) connection.

2. Change to the root folder of your VPS using the following command:
     cd ...

3. Create a new file using the following command:
     vi /etc/httpd/conf.d/zzz_openbasedir_removal.conf

4. Press the insert key and enter the following information:
    <DirectoryMatch /var/www/vhosts/(.*)/httpdocs/>
     php_admin_value open_basedir none </DirectoryMatch>

5. Press escape (ESC) to exit insert mode.

6. Type :wq to save and exit the file.

open_basedir should now be removed from Plesk.


Follow Us Facebook News Feed Blog