Ubuntu – how to correctly install apache2, php5, thesql and phptheadmin

Apache2installationMySQLPHPphpmyadmin

What is the most correct method of installing apache 2 server, php5, mysql and phpMyAdmin?

I installed it this week, and I had a lot problems without solutions, so now that I reinstalled Ubuntu 13.04 I don't want to make the same mistake again.

Best Answer

From a command line:

sudo apt-get install tasksel
sudo tasksel install lamp-server

https://help.ubuntu.com/community/ApacheMySQLPHP

Related Question