• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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