• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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 not working on client domains

R

rsanders4

Guest
Greetings,

For some odd reason my plesk 7.5 install is not enabling PHP on any client domains.

any php files show up as plain text.

It appears there may be some sort of issue with an addhandler directive?

Any tips would be appreciated.

Thanks in advance.
 
The .php extension is parsed by the default config in httpd.include. What OS do you have?
 
fedora core 2

basically any .php page just shows the raw source.

I'm pretty familiar with how apache handles things, but somewhat of a newbie when it comes to the Plesk back-end (mostly been a cpanel guy until now)

Let me know if you need any other info, and I'll be happy to provide it.
 
Anyone else have any ideas on why this is not working?

PHP not working is a pretty critical issue for me at this time?


Thanks in advance.
 
not meaning to state the obvious, but you have allowed them to access php in the hosting setup area in the domain control panel.
 
Would it help to post the contents of my http.conf and httpd.include files?
 
Well, I've managed to fix one of the two messed up domains. Now, .html and .php files work perfectly fine.

However, I have a 2nd domain on the box that has been prompting to "download" x-http-php even though there are no php files in the sites directory, only .html files.

even if I feed the url http://www.clientdomain.com/index.html I get the prompt.


But........ If I copy their index.html to index.htm it works fine if I specify http://www.clientdomain.com/index.htm in the url, yet just typing http://www.clientdomain.com still results in being prompted to download a file.
 
Check for a hidden .htaccess file in the root directory of the vhost. Delete or rename it if you didn't put it there or intend to have a custom one.
 
Back
Top