PDA

View Full Version : [ubuntu] apache ask me to download the php file



snake_eyes
January 27th, 2009, 05:41 AM
Hello,

I've installed Apache2 (Server) and PHP5 by running this command:


sudo apt-get install apache2 php5 libapache2-mod-php5 php5-common php5-ldap php5-odbc

It supposed to be work fine, well, I'm able to see the root directory, everything worked but the PHP files tries to download instead of browse.

I've searched the whole forums, found solutions, tried them... but, nothing seems to work.

I'm able to see a test.html and that works. unlike index.php.

Any idea please? Thanks in advance.

Step by step to solve this issue and make a full procedure in details in the wiki :)

Cheers,

snake_eyes
January 27th, 2009, 09:21 AM
Anybody there gentleman?