apt-get install apache2 php5 libapache2-mod-php5
apt-get install php5-xsl php5-gd php5-cli
apt-get install mysql-server mysql-client php5-mysql
-
In order to enable the use of .htaccess, you need to edit this file:
/etc/apache2/sites-available/default
In the section <Directory /var/www/>, change to:
AllowOverride all -
In order to enable the Rewrite Module:
ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load
/etc/init.d/apache2 reload
