To get apache2 working with php7 (or even lower perhaps?) on Linux you might need to download also the mod for php7

 

sudo apt-get install libapache2-mod-php7.0