• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

PHP5 index.php in root directory issues

Y

yowzer

Guest
index.php in root directories not parsing after PHP5 upgrade

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
/index.php

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

I am on Plesk 7.5.3 with PHP 5.1.4.
 
This is the one 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