Previously i had wamp version 2.0 and there it uses phpmyadmin 3.* version. Now i need to use wamp version 2.0c and it came up with phpmyadmin 2.* versions. After installing wamp 2.0c i could not access http:// localhost/phpmyadmin and it says
403 Forbidden
You don’t have permission to access /phpmyadmin/ on this server
I solved this problem in two step :
Step 1 :
Check your c://wamp/apps and remember the name of your phpmyadmin folder (i.e phpmyadmin2.11.6)
Step 2 :
Open in notepad c://wamp/alias/phpmyadmin.conf
and edit the following
<Directory “D:/wamp/apps/phpmyadmin2.11.6/”>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,All
Deny from all
Allow from 127.0.0.1
</Directory>
with this :
<Directory “D:/wamp/apps/phpmyadmin2.11.6/“>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Al
Allow from all
</Directory>
And also verify that the directory name matches If not ,
1. change the directory name (<Directory “D:/wamp/apps/phpmyadmin2.11.6/“>) and
2. also the Alias name (At the top of this file ie. Alias /phpmyadmin “D:/wamp/apps/phpmyadmin2.11.6/”
**After going to the phpmyadmin I set my root users password which is null by default . After doing this the next time I tried to login to phpmyadmin it shows that :
Error
MySQL said:
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
If same thing happens for you find config.inc.php file in wamp installation folder and edit the following line
$cfg[‘Servers’][$i][‘password’] = ‘Your_Password’;
Have a nice day !!
2 responses to “Solution for Forbidden /phpmyadmin : You don’t have permission to access /phpmyadmin/ on this server”
Thank you, very very very Thank You!
Thanks Man!!!!