Reputation: 153
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 http://pngwebdesign.co.uk/forum/localhost.jpg 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
Upvotes: 12
Views: 336681
Reputation: 219
I have mistake, i see in the xampp ui show MySQL port is 3306, i realize that i need to call request to phpmyadmin on 8080 por
http://localhost:8080/phpmyadmin
instead of
http://localhost:3306/phpmyadmin
Upvotes: 0
Reputation: 1302
If you are using ubuntu then try these command after installation of phpmyadmin
sudo cp /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf
sudo a2enconf phpmyadmin
sudo service apache2 restart
Upvotes: 9
Reputation: 417
Try to navigate below URL .this workes to me
http://localhost/phpmyadmin/index.php
Upvotes: 0
Reputation: 93
You need Apache to run phpmyadmin. XAMPP does NOT start Apache for you automatically when you click on the "Admin" button.
XAMPP should disable the Admin button if Apache is not running or start it for you.
Note: Just started using XAMPP. Was a simple fix for my issue lol
Upvotes: 1
Reputation: 11
I was getting the Object not found error as shown in the screen shot while clicking the phpmyadmin link. Apache and SQL server had got started from the xampp console.
Solution: I uninstalled and installed again after deleting all the files and folders of xampp from C drive. Also, this time, I installed just the Apache and the SQL server. After this, phpmyadmin link started to work.
Upvotes: 0
Reputation: 153
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.
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
On eighth time i got success.This is what i did 8)In control panel, where you have actions , modules PIDs, Ports you will see Services under which you will see gray boxes which are actually checkboxes but are empty initially. i checked it so that xampp services start and apache services start. now you will see them ticked. After that just change the port of xampp and apache to 80.
I hope it helps. cheers ;)
Upvotes: 6
Reputation: 634
All I had to do was load localhost:80/phpmyadmin
and then the browser figured it out. After that, localhost/phpmyadmin
worked.
Upvotes: 34
Reputation: 1379
Found a fix. (If you are using proxy on your network) //Windows 1. Open control panel 2. Network and internet 3. Network and sharing center 4. On the bottom left side of the window, you will see Internet Options, under connections tab, click LAN settings check the bypass
Upvotes: 1
Reputation: 2152
STOP ALL SERVICES OF XAMPP Edit Apache(httpd.conf) file 1)"Listen 80" if its already 80 and not working then replace it by 81 2) "ServerName localhost:80" if its already 80 and not working then replace it by 81 SAVE EXIT RESTART [WINDOWS USER run as administrator]
Upvotes: 0
Reputation: 9
Same Object Not Found problem here - both in Xampp as well as in Wamp. It turns out the root name of "phpmyadmin" was "PhpMyAdmin". I got rid of all the capitals, renaming the folder to "phpmyadmin", and after a couple of reloads phpmyadmin was working.
Upvotes: 0
Reputation: 551
Try starting MySQL and Apache in Xampp. Verify Port Number assigned to Apache (By default it should be 80). Now load localhost/phpmyadmin
. It solved my problem.
Upvotes: 0
Reputation: 2917
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
http://localhost/security/xamppsecurity.php
Upvotes: 24