I moved a website from another server to mine and there is a PHP file with .ph extension. On other server it worked fine, but not on the new one. It just tries to download the file in question, instead of sending it through PHP parser.
Obviously it's about file handlers, so I need to add .ph extension to be handled as .php file. I thought this was trivial, but still couldn't do it :) It has somehow changed in Apache2 and I can't seem to figure it out.
I've tried to set the handler in mime.conf and in /etc/mime.types. Nothing so far.
Due to the app complexity, I wish I wouldn't have to change the extension of the file. Could someone point me to the right direction? This shouldn't be this hard :)
I'm running Apache 2.2.17 and PHP 5.3.5 on Ubuntu 11.04.