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?
Asked
Active
Viewed 3,345 times
1
-
A silly question from my side, but have you installed php5 or php on your server? – eranga Jun 08 '16 at 09:02
-
@eranga I have php installed – Salako Ayotunde Jun 08 '16 at 09:15
-
have you installed libapache2-php5 module?. You can use apt-get command to install the php module – serverliving.com Jun 08 '16 at 09:49
-
correct command is apt-get install libapache2-mod-php5 – serverliving.com Jun 08 '16 at 09:55
-
"The mysqli|mysql extension is missing." is the new error I am getting after installing libapache2-mod-php5. – Salako Ayotunde Jun 08 '16 at 10:51
-
apt-get install php5-mysql – serverliving.com Jun 08 '16 at 11:07
1 Answers
1
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

serverliving.com
- 885
- 7
- 15