Apache2 and php install

sudo apt-get install apache2 apache2-utils
sudo apt-get install libapache2-mod-php5 php5 php-pear php5-xcache php5-mysql php5-curl php5-gd

Change www folder:
sudo nano /etc/apache2/sites-enabled/000-default.conf

-> you may want to add your user to www-data group

And in the end:

sudo service apache2 restart
 

 

 

<< Volver a la página anterior