Pages: 12Next
Current Page: 1 of 2
Can't Access Phpmyadmin After Installing Wamp
Posted by: Devin (---.hsd1.ct.comcast.net)
Date: July 25, 2012 05:19PM

Hi, I have a question that needs to be answered. I've just installed wamp (installation went according to plan; didn't mess around with any settings whatsoever) and for some odd reason I can't gain access to phpmyadmin. It just says "403 forbidden you don't have permission to access /phpmyadmin/ on this server". What could be causing this to happen?

Thanks,
Devin

Options: ReplyQuote
Re: Can't Access Phpmyadmin After Installing Wamp
Posted by: RiggsFolly (---.as13285.net)
Date: July 25, 2012 05:40PM

What colour is your wamp manager icon in the system tray?

Options: ReplyQuote
Re: Can't Access Phpmyadmin After Installing Wamp
Posted by: Devin (---.hsd1.ct.comcast.net)
Date: July 25, 2012 05:55PM

The wamp server icon was green.

Options: ReplyQuote
Re: Can't Access Phpmyadmin After Installing Wamp
Posted by: RiggsFolly (---.as13285.net)
Date: July 25, 2012 06:32PM

Are you running the browser on the PC that has WAMP installed or another PC on your local network?

Options: ReplyQuote
Re: Can't Access Phpmyadmin After Installing Wamp
Posted by: Devin (---.hsd1.ct.comcast.net)
Date: July 25, 2012 06:44PM

Yep, I'm running everything from the computer that has wamp installed on.

Options: ReplyQuote
Re: Can't Access Phpmyadmin After Installing Wamp
Posted by: RiggsFolly (---.as13285.net)
Date: July 25, 2012 07:01PM

Can you look at your HOSTS file please.

edit c:\windows\system32\drivers\etc\hosts ( no extension on the file )

If it has a line ( uncommented with the # )
::1 localhost

remove or comment it out using a # in column 1.


The hosts file is protected by windows, in order to save it you must have Administrator privilages.
Vista/W7/W8 you may think you are an Administrator BUT YOU ARE NOT.

To successfully save the hosts file do this to launch your editor with Admin Privilages.

Locate your editors icon on the desktop or from the Start menus ( notepad will do if you have nothing else )
left click + shift over your chosen editor icon - will show a menu.
select "Run As Administrator" from the menu.
Navigate your editor to the c:\windows\system32\drivers\etc\hosts file.

When you have made changes you will now be allowed to save them.

Options: ReplyQuote
Re: Can't Access Phpmyadmin After Installing Wamp
Posted by: Devin (---.hsd1.ct.comcast.net)
Date: July 25, 2012 07:30PM

It worked, thank you so much ^_^

Options: ReplyQuote
Re: Can't Access Phpmyadmin After Installing Wamp
Posted by: shack555 (---.home.otenet.gr)
Date: July 29, 2012 05:44PM

Really you are great! I have tried over and over again the same solution from other forums. After I wasted a day, I found your different solution and that was it. Thank you so much!

Options: ReplyQuote
Re: Can't Access Phpmyadmin After Installing Wamp
Posted by: kautrand (---.hsd1.wa.comcast.net)
Date: July 29, 2012 07:57PM

Having same problem with Phpmyadmin. WAMP Icon is green and I can access localhost. I have checked my Host file shown here. This is on a Win 8 PC:
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost

127.0.0.1 localhost

Options: ReplyQuote
Re: Can't Access Phpmyadmin After Installing Wamp
Posted by: stevenmartin99 (Moderator)
Date: July 29, 2012 07:59PM

having which issue? what are you getting

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Can't Access Phpmyadmin After Installing Wamp
Posted by: kautrand (---.hsd1.wa.comcast.net)
Date: July 29, 2012 08:03PM

"403 forbidden you don't have permission to access /phpmyadmin/ on this server".

Options: ReplyQuote
Re: Can't Access Phpmyadmin After Installing Wamp
Posted by: stevenmartin99 (Moderator)
Date: July 29, 2012 08:06PM

which wampserver did you install?

with apache 2.2.22 or apache 2.4

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Can't Access Phpmyadmin After Installing Wamp
Posted by: kautrand (---.hsd1.wa.comcast.net)
Date: July 29, 2012 08:20PM

Apache 2.2.22 – Mysql 5.5.24 – PHP 5.4.3 XDebug 2.1.2 XDC 1.5 PhpMyadmin 3.4.10.1 SQLBuddy 1.3.3 webGrind 1.0

Also installed VC10 SP1 vcredist_x64.exe 64 bits and have re-booted.

Options: ReplyQuote
Re: Can't Access Phpmyadmin After Installing Wamp
Posted by: stevenmartin99 (Moderator)
Date: July 29, 2012 08:28PM

did you try add

::1 localhost

to the end of your hosts file

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Can't Access Phpmyadmin After Installing Wamp
Posted by: kautrand (---.hsd1.wa.comcast.net)
Date: July 29, 2012 08:32PM

:: 1localhost is already in the host file as shown in my first post. Should it go after

127.0.0.1 localhost

Options: ReplyQuote
Re: Can't Access Phpmyadmin After Installing Wamp
Posted by: stevenmartin99 (Moderator)
Date: July 29, 2012 08:36PM

its not in the file...

it has a # in front of it which means its a comment

put it after and remove the #

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Can't Access Phpmyadmin After Installing Wamp
Posted by: kautrand (---.hsd1.wa.comcast.net)
Date: July 29, 2012 08:38PM

I mis-read your reply. Adding ::1 localhost

Options: ReplyQuote
Re: Can't Access Phpmyadmin After Installing Wamp
Posted by: kautrand (---.hsd1.wa.comcast.net)
Date: July 29, 2012 08:42PM

Didn't make a difference:
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
::1 localhost

127.0.0.1 localhost

Options: ReplyQuote
Re: Can't Access Phpmyadmin After Installing Wamp
Posted by: kautrand (---.hsd1.wa.comcast.net)
Date: July 29, 2012 08:50PM

Moved :: 1 localhost to last line of file. Still no luck.

Options: ReplyQuote
Re: Can't Access Phpmyadmin After Installing Wamp
Posted by: stevenmartin99 (Moderator)
Date: July 29, 2012 09:06PM

teamviewer?

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Pages: 12Next
Current Page: 1 of 2


Sorry, only registered users may post in this forum.