1. Install Apache Server :

# apt-get install apache2

2. Install MySQL Server :

# apt-get install mysql-server

3. Install PHP5 :

# apt-get install php5

4. Install Library MySQL for Apache

# apt-get install libapache-mod-acct-mysql
# apt-get install php5-mysql

5. Now you can execute all these command😛 :

sudo /etc/init.d/apache2 restart
sudo /etc/init.d/mysql restart