Am reviving an old laptop so I can do some work while travelling. Need to upgrade PHPUnit (amongst other things), and came across this question, How to install an updated version of PEAR / PHPUnit on Ubuntu?
I thought I had PEAR installed already, so didn't think it could hurt to run the first command as given, i.e.
sudo apt-get install php-pear I was wrong. Lots of stuff was downloaded and installed. I was not particularly worried though, since I noticed it was installing PHP5.5, which I want. (Previously I was on 5.4).
Anyhow, now when I try to run a php script, firefox doesn't seem to recognise the file type. (It actually says its a PHTML, which doesn't seem to make sense either). Firefox then asks me if I would like to open it with another application.
Presumably this is a configuration issue. Where should I start? I am using Ubuntu 12.04.