• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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