Phpmyadmin Not Working on Localhost
Xampp Version:1.7.7 (Installed It on External Hard Drive), Operating System: Windows 8, Installed Version 4.1.7 of phpMyAdmin and Copied Config. Inc. Php from...
Xampp version:1.7.7 (installed it on external hard drive), operating system: Windows 8, installed version 4.1.7 of phpMyAdmin and copied config.inc.php from my old version of phpmyadmin to the new phpmyadmin version (4.1.7)
When I type localhost/phpMyAdmin I get the error message:
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster. Error 404 localhost 02/13/14 17:16:55 Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8
So I had a look in the xampp localhost welcome page and in the security link PhpMyAdmin: Could not find the 'config.inc.php' comes up, how can this be recified
Looked in my local phpmyadmin folder and the config.inc.php file is there so I really don't understand why I can't log into localhost/phpMyAdmin
Any help appreciated
10 Answers
All I had to do was load localhost:80/phpmyadmin and then the browser figured it out. After that, localhost/phpmyadmin worked.
did you try 'localhost/phpmyadmin' ? (notice the lowercase)
PHPMyAdmin tends to have inconsistent directory names across its versions/distributions.
Edit: Confirm the URL by checking the name of the root folder!
If the config was the primary issue (and it may still be nthary) you would get a php error, not a http "Object not found" error,
As for the config error, here are some steps to correct it:
Once you have confirmed which case your PHPMyAdmin is in, confirm that your config.inc.php is located in its root directory.
If it is, rename it to something else as a backup. Then copy the config.sample.inc.php (in the same directory) and rename it to config.inc.php
Check if it works.
If its does, then open up both the new config.inc.php (that works) and the backup you took earlier of your old one. Compare them and copy/replace the important parts that you want to carry over, the file (in its default state) isn't that long and it should be relatively easy to do so.
N.B. If the reason that you want your old config is because of security setup that you once had, I would definitely suggest still using the security wizard built into XAMPP so that you can be assured that you have the right configuration for the right version. There is no guarantee that different XAMPP/PHPMyAdmin versions implement security/anything in the same way.
XAMPP Security Wizard
when I started xampp on my windows 10 there were many options available, unfortunately every one of them failed. I ll list them so that you don't go through all of them again.
Must Read
THINGS THAT DIDN'T WORK
1) i installed xampp initially in a different drive and not c because of UAC issues so i uninstalled Xampp and installed it again in c (didn't work) 2) while reinstalling i deactivated the antivirus as setup said that some installing might not end up properly(realized it doesn't matter :) lmao) 3) i tried to change ports several times of xampp from 80 to some different number like 8080 etc. still nothing happened 4) i then tried using firefox as it is believed that internet explorer or internet edge is not a good browser for xampp 5) after that i went to config file i.e config.inc inside phpmyadmin folder and did some crap as were given in the instructions. Failure it was 6) then i closed laptop and went to sleep(XD srry leave this point) 7) then i tried searching for windows web services in the services.msc to disable it. i couldn't find it