PHP 7 and apache displays plain text and cannot be restarted
Solution 1:
Run the following command in terminal
sudo apt-get install libapache2-mod-php
Solution 2:
sudo apt install php libapache2-mod-php
sudo apt install php7.0-mbstring
sudo a2dismod mpm_event
sudo a2enmod mpm_prefork
service apache2 restart
after that
gedit /etc/apache2/apache2.conf
add the following line
Include /etc/phpmyadmin/apache.conf
service apache2 restart
libapache2-mod-php server-side, HTML-embedded scripting language (Apache 2 module) so we have to add this