Feb 02 2012

How to install apache2 on ubuntu with PHP5
1  3K+ {{}}
From a command shell, you will run the following commands:

sudo apt-get install apache2

sudo apt-get install php5

sudo apt-get install libapache2-mod-php5

sudo /etc/init.d/apache2 restart

Note that if apache is already installed you can omit the first line. Your web files will now be found in /var/www/

That's it.
artur124    May 25 2012

Please Login or Sign Up to leave a reply.