The Problem:
PhpMyadmin works fine on localhost but accessing it over a network gives error 403: Access Forbidden.
Reason:
Reason is pretty clear – phpmyadmin is not configured to be accessed over a network. Permission to access it over network is not given.
Solution:
Locate the file phpmyadmin.conf in your wamp installation.
If you have wampserver version 2 or higher, this file can be found at C:\wamp\alias\phpmyadmin.conf (Of course assuming that you installed wamp in C:\wamp). For earlier wamp versions this file is at C:\wamp\Apache2\conf\alias\phpmyadmin.conf.
Once found,open this file. Contents of the file will be like the following:
Alias /phpmyadmin "c:/wamp/apps/phpmyadmin3.1.3.1/"
# to give access to phpmyadmin from outside
# replace the lines
#
# Order Deny,Allow
# Deny from all
# Allow from 127.0.0.1
#
# by
#
# Order Allow,Deny
# Allow from all
#
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
As it is clearly written in the file itself, replace the line Deny from all (second line from the bottom )with Allow from all. Save the file, restart apache and you are done.
PhpMyadmin can be accessed from outside now.
After Change left click Wamp tray icon then select option Restart service. Now your problem will solve...
you need to open c:\windows\system32\drivers\etc\
move the file called hosts to your desktop
open it with an editor and delete EVERYTHING in the file,
then just add one line
127.0.0.1 localhost
save and move back to the folder
if host file not present create host file using new notepad by tying inside the following line
127.0.0.1 localhost
and save as hosts and move file to c:\windows\system32\drivers\etc\
Host problem will solve by this method...
PhpMyadmin works fine on localhost but accessing it over a network gives error 403: Access Forbidden.
Reason:
Reason is pretty clear – phpmyadmin is not configured to be accessed over a network. Permission to access it over network is not given.
Solution:
Locate the file phpmyadmin.conf in your wamp installation.
If you have wampserver version 2 or higher, this file can be found at C:\wamp\alias\phpmyadmin.conf (Of course assuming that you installed wamp in C:\wamp). For earlier wamp versions this file is at C:\wamp\Apache2\conf\alias\phpmyadmin.conf.
Once found,open this file. Contents of the file will be like the following:
Alias /phpmyadmin "c:/wamp/apps/phpmyadmin3.1.3.1/"
# to give access to phpmyadmin from outside
# replace the lines
#
# Order Deny,Allow
# Deny from all
# Allow from 127.0.0.1
#
# by
#
# Order Allow,Deny
# Allow from all
#
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
As it is clearly written in the file itself, replace the line Deny from all (second line from the bottom )with Allow from all. Save the file, restart apache and you are done.
PhpMyadmin can be accessed from outside now.
After Change left click Wamp tray icon then select option Restart service. Now your problem will solve...
The above method for windows 7 if you using windows 8 try to one more step..
you need to open c:\windows\system32\drivers\etc\
move the file called hosts to your desktop
open it with an editor and delete EVERYTHING in the file,
then just add one line
127.0.0.1 localhost
save and move back to the folder
if host file not present create host file using new notepad by tying inside the following line
127.0.0.1 localhost
and save as hosts and move file to c:\windows\system32\drivers\etc\
Host problem will solve by this method...
17.jpg)
170.jpg)
1708.jpg)