I have installed xampp on ubuntu 11.10 and it worked very well.
Then I wanted to install mumble and a mumble viewer using zeroc-ICE thus I followed the install steps and had to mess a bit with the php.ini file (actually I messed a bit with 2 php.ini files to be fair...).
And now I cannot run php files anymore on my web browser (I tried with firefox and chrome) even phpmyadmin doesn't work! When I try to open php files the web browser asks me if I want to download the .php file rather than displaying it (even for phpmyadmin), to be clear with firefox I get something like:
"You have chosen to open: file.php
What should firefox do with this file? - open - save ..."
I spent several hours on google to find an answer, I tried various solutions that seemed to work for others but nothing worked for me...
Please can anyone help me with that? I'm starting to get crazy...
My config is: Ubuntu 11.10 PHP 5.3.2 XAMPP 1.8.1
Many Thanks, Krx
AddType application/x-httpd-php .php
in your Apache configuration file? – vcampitelli May 7 '13 at 19:38