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

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

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

Hi,

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
rahulsharma49
Sun, 01/20/2019 - 21:54
adamjedgar

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

https://ajecreative.com.au

Tue, 07/16/2019 - 05:53
Kvark
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

Thu, 09/12/2019 - 10:15
mpol

Hi, I am facing also the same problem. It does not matter where I install. It allways shows me the source code and not the login page of phpmyadmin. Any advice here? mpol_ch

mpol

Thu, 09/12/2019 - 16:21
adamjedgar

It doesn't require a subdomain to work...that is complete nonsense.

You just need to first create a virtualmin>virtual server and then install phpmyadmin. It works flawlessly for me and always has. You must have something wrong with your server configuration. One reason is outlined here on github

https://github.com/phpmyadmin/phpmyadmin/issues/12177

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

https://ajecreative.com.au

Topic locked