How to install apache2 php mysql in debian

Install apache2 and php modules

apt-get install apache2 php5 libapache2-mod-php5 php5-mysql

Install mysql server

apt-get install mysql-server

Restart apache2

/etc/init.d/apache2 restart

Leave a Reply

*