Ubuntu – Phptheadmin page shows lines of code on ubuntu server 16.04

phpmyadminUbuntu

After I installed PHPMyAdmin on my ubuntu server 16.04, instead of showing the PHPMyAdmin page it was showing lines of code which I think is the source code for the login page. Please, what am I doing wrong?

Best Answer

You are missing core modules required to run a LAMP web application.

Install the below packages & check your PHPmyADMIN page

apt-get -y install php5-mysql libapache2-mod-php5 php5-mcrypt