I've just done a fresh install of SuSE 9.1 /w Apache 2 and PHP 4.
When I access the webserver it loads the default Apache page but when I go to access a .php file it asks me to download the file in my browser rather than run through the interpretor (when I download the file the PHP code is visible).
I've looked through just about every major PHP forum I could find and nobody seems to have a solid idea of why this happens -- and asking Novell is very similar to talking to a group of polished rocks.
Some interesting notes:
- When I run YaST it clearly states that the PHP4 module is installed and enabled
- The httpd.conf file contains all the necessary mime/type information for PHP
- It seems to be loading the right PHP module (although I couldn't find libphp4.so on the box)
I'm not an administrator (just a non-technical designer). Re-installing/compiling PHP seems... incredibly difficult. The other funny thing is I've used SuSE 9.1 before with Apache 2 and PHP and never encountered a problem off a fresh install. It's something that's just come up this time. :/
Any help would be really appreciated... I'm just about ready to give up on dealing with Linux and move back to a Microsoft platform... say good-bye to stability.