• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

index.php in root directories not parsing after PHP5 upgrade

Y

yowzer

Guest
I tried searching, but I didn't quite find this specific problem described anywhere. I used one of the PHP5 walk-throughs for upgrading PHP to version 5 in Plesk 7.5.x. It works perfectly except for one thing.

Instead of index.php in the root directory, it is being sent as plain text with content-type application/x-httpd-php. It's a very strange thing because PHP is working fine in most places.

In a sample directory tree, all of these work fine:
/blort.php
/pics/
/pics/index.php

The strangest thing is that while http://www.mydomain.com/ returns the PHP file as text, http://mydomain.com/ compiles the PHP and sends the HTML properly.

I am on Plesk 7.5.3 and PHP 5.1.4.
 
This is the guide I used:
http://forums.serverbeach.com/showthread.php?t=6125

Even more strange in this whole situation is that when I was going to start some more troubleshooting, everything was working fine. While I hate not knowing what the issue was (I suspect Apache was caching), it's at least resolved now.

I still need to upgrade some PEAR packages for Horde to work, but it looks like things went fine.
 
Back
Top