I\'m getting below error when I type in localhost/phpMyAdmin after starting apache and mysql server in Xampp in Windows 7 environment.
Is there a way I can fix this issu
Try to uninstall the XAMPP and check the phpmyadmin upon reinstalling
404 is the code for page not found
If you get this while running both mysql
and apache
It means the Url is not correct:
http://localhost/phpmyadmin
is the url if your port is set to default 80
.
In my case I already had a service listennig on that port so I had to change it.
The fix is to add the port if it is a custom one:
http://localhost:<port>/phpmyadmin
To find out which port you have look inside of httpd.conf
.
here is a screenshot for xampp:
To quickly find it, search for listen
:
First of all go to apache config.
Now go to select Apache “httpd.conf”
so now you can see that a notepad file will be opened”.
Find the word “Listen”
using ctrl + F button or go to Edit then select find.
Replace “Listen 80”
to “Listen 8080“
.
Again find another “Listen” now change “ServerName localhost:80”
to “ServerName localhost:8080”
and then save it.
“We are almost done to fix localhost/phpmyadmin” Step 6: Again go to config and select “Apache (httpd-sss.conf)“.
Step 7 is to Find “Listen 443” and change it to “Listen 4433“
Step 8: Find “” and replace this with “” and again save it.
Step 9: Go to config and select “service & ports settings” and change the port to 8080 and 4433
and save it.
Step 10: Restart, the localhost/phpmyadmin
is solved.
Thank you, also share this !
I just finished installing xampp 1.8.2 on WinXP XP2 machine and got same error show up on my Firefox 24.0 browser:
xampp Not Found The requested URL /phpmyadmin/ was not found on this server.
I solved this problem by changing the proxy of my firefox browser, go to menu tools-Option find tab Network, click button settings. Fill the text box below No Proxy for with localhost.
In my case then it looklike:
192.168.1.0/24, localhost
Then press Ok, then Ok again.
Try now typing localhost/xampp then it should show Welcome to XAMPP for Windows!
Note: to change proxy for other browser may differ, check your browser help about how to change proxy.
Hope this help.
Try I did not access it directly like following url pattern :
url : localhost or localhost/file-folder-of your project name.
But i can access file or folder and phpmyadmin using
url : localhost:port_num/file-folder-of your project name
Use lowercase: http://localhost/phpmyadmin
Apache is case-sensitive.