2

I installed phpMyAdmin on my computer. I used Apache as my http server. However, every time I go to http://localhost/phpMyAdmin/, this screen appears:

enter image description here

How do I make it so that this login screen appears instead:

enter image description here

Nico Encarnacion
  • 87
  • 1
  • 1
  • 8

5 Answers5

3

You may be better off to install an integrated suite, such as:

XAMPP - Linux/Windows/Apple * store web pages in htdocs

WAMP - Windows

MAMP - Apple

Then, just going to the address localhost will give you a menu, with all components (apache, phpmyadmin, tomcat, etc etc)

They are all free, so why not?

cssyphus
  • 37,875
  • 18
  • 96
  • 111
1

Add this

DirectoryIndex index.php

to /etc/phpmyadmin/apache.conf (or wherever your apache.conf or httpd.conf or whatever is).

If you happen to be running on Windows, look for the Apache webserver directory.

XAMPP Users: If you have installed it as a service, changes to configuration files seem to take effect only when you restart the service through the Services panel and not via the XAMPP control panel.

icedwater
  • 4,701
  • 3
  • 35
  • 50
000
  • 26,951
  • 10
  • 71
  • 101
0

Use http://localhost/phpMyAdmin/index.php

or

Check your host config, check the DirectoryIndex param.

icedwater
  • 4,701
  • 3
  • 35
  • 50
0

I found that when I entered root in the username and left the password blank I got in

Lorca
  • 9
  • 1
0

You need to edit your apache2 config file to include PHPmyadmin.

Do this: gedit /etc/apache2/apache2.conf

OR nano /etc/apache2/apache2.conf

Add this to the end of your config file:

Include /etc/phpmyadmin/apache.conf

Save then restart Apache:

/etc/init.d/apache2 restart

tHeSiD
  • 4,587
  • 4
  • 29
  • 49
tshirtdr1
  • 39
  • 1
  • 6