• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Default open_basedir

V

vrcancer

Guest
I know how to successfully change and manage open_basedir for virtual hosts and subdomains. However, how does one change the value for the default directory/domain?

Changing the value in /etc/php.ini does not work.

There is no vhost.conf file to edit for the default domain. There is no conf subdirectory in the default domain.

I have been directly editing:

/etc/httpd/conf/httpd.include

But of course, everytime Plesk restarts that file is over written.

I've even tried appending:

<Directory "/var/www/vhosts/default/"></Directory> info into other virtual host vhost.conf files without success.

How does one change the open_basedir (or any value for that matter) for the default domain?
 
Back
Top