• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

PHP Open dir

P

Peter Blackford

Guest
I am having problems changing the PHP Open_Dir for a domain. I have tried changing the conf/httpd.include to change the open_dir setting. I then run websrvmng -v -a (although I have tried a combination of things). The httpd.include file is then overwritten and removing my modification.

What am I doing wrong?
 
Never mind fixed it.

I had to create the file conf/vhost and run the command and the included the vhost in the httpd.include file.
 
You should never edit the httpd.include file for a domain. It will always be overwritten. You will need to create a vhost.conf file to set the PHP open_basedir value.

<DirectoryMatch /var/www/vhosts/yourdomain/httpdocs>
php_admin_value open_basedir none
</DirectoryMatch>

For good measure I would also restart Apache, though it might not be required.
 
Back
Top