Install PhpMyAdmin But It Shows Code/Text Instead Of Login Page

4 posts / 0 new
Last post
#1 Mon, 12/31/2018 - 21:50

Install PhpMyAdmin But It Shows Code/Text Instead Of Login Page


I had just installed VirtualMin And Webmin on a fresh VPS machine, I want to have PhpMyadmin as i am familiar with it for importing exporting and other stuffs of database.

I had installed phpmyadmin as well but when i try to open PhpMyAdmin page it shows me full code instead of login page.

I tried installing all way, like from Webmin -> Software Packages, and directly from SSH as well, both results in same error, text/code showing on login page.

P.S. My Php is working as i had installed Wordpress on a virtual server and its working very fine.

Sat, 01/19/2019 - 22:39
Sun, 01/20/2019 - 21:54

that simple solution from what i read is nothing more than the obvious...if your server doesnt have any domains on it (ie virtual servers), phpmyadmin isnt going to work as you were expecting it to work.

In any case, Virtualmin/Webmin has built in Database administration tools that are very user friendly and easy to find.

Webmin>Servers>MySQL Database Server

and also when you have a virtual server setup in virtualmin its database can be accessed and edited via...

Virtualmin>Edit Databases

AJECreative is the home of $5 webhosting, $15/month VPS servers (1cpu,1gb RAM, 25GB storage)
Centos7, Debian9, or Ubuntu18LTS
Available Control Panels = Centos-Webpanel, Cyberpanel, or Virtualmin

Tue, 07/16/2019 - 05:53
Kvark's picture

I am also got this issue, phpmyadmin shows code even if installed as general or as a script for a virtual-host - anybody can advice how to solve? Fresh installation on Centos 7