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!!
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!!