View Full Version : [ubuntu] How to configure php and apache2 server

August 31st, 2008, 06:11 AM
I have installed php5-cli and apache2 server using apt-get install. wats the problem is tat if i run any php file in my browser.The browser asks me for downloading the file from local host.Can any one help me in fixing this.

August 31st, 2008, 07:46 AM
You were better off using tasksel

sudo tasksel

then select lamp server

August 31st, 2008, 10:13 AM
Isn't php-cli a program for parsing php from the command line. As stated above select lamp server and it should all be ok.