Install php7.0 in apache2 ubuntu 16.0

I tried to install php with apache by default. It didn't work. After installing "everything" php was seen as a text file. So apparently there is one additional package that needs to be installed.

So, the right way to install is
sudo apt-get install apache2 php libapache2-mod-php7.0

The first two will install the latest versions (At the time I am writing this post the latest version for php was 7.0)


Comentarios

Entradas populares de este blog

Citrix - Xenserver - Migrate MAC address

Configure SNMP for Citrix - XenServer

Xencenter on GNU/Linux