• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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