• 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.

Multiple domains going to one directory - PHP problem

B

billyg74

Guest
I have a php app that I want to run for multiple domains. I don't want to copy the script to all the domains (especially since I am always making changes to it).

I went into the /home/httpd/vhosts/DOMAINNAME.com/conf/httpd.include file, and changed the DocumentRoot to point to the one location of the the files.

HTML files load fine. But PHP files try to download instead of running. So I am guessing this is an issue with PHP setup and Plesk.

Any thoughts on what I need to add or change to get PHP to run when I change DocumentRoot to a different directory?

THANKS!!
 
We have been looking for a solution for the _exact_ same problem for ages now without a real solution.

We're on OS:
Red Hat Enterprise Linux ES release 3 (Taroon Update 4)

Plesk Version:
Linux 7.5.4


We have tried defining the DocumentRoot in both the vhost.conf and httpd.include files with the above results.

Is there anybody who knows how to change the DocumentRoot to point to the path of another domain? Even if it means overriding default httpd.conf configuration.

Thanks very much for your time!

Cheers,
David
 
Back
Top