Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

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

share|improve this question
    
Do you have a backup of the php.ini files you messed with? –  raidenace May 7 '13 at 19:03
    
Have you tried AddType application/x-httpd-php .php in your Apache configuration file? –  vcampitelli May 7 '13 at 19:38
    
I exactly know what I did to the php.ini: I have adedd a dynamic the following extension to php.ini: extension=IcePHP.so Thus if I drop it (and re-launch XAMPP) it works well again, so it's clearly co,ing fro, there. @vacmpitelli - No I haven't; should I? what would it do? –  user2359587 May 7 '13 at 20:10
    
@vacmpitelli - I tried to add 'AddType application/x-httpd-php .php' in the httpd.conf file but it didn't solve it... –  user2359587 May 7 '13 at 20:27
    
Here are the error logs from Apache2: –  user2359587 May 7 '13 at 21:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.