I have installed wamp on windows 8 and received above error whenever I go to localhost or phpmyadmin. After much searching I found many ans
By default wamp sets the following as the default for any directory not explicitly declared:
AllowOverride none
Require all denied
For me, if I comment out the line that says Require all denied I started having access to the directory in question. I don't recommend this.
Instead in the directory directive I included Require local as below:
AllowOverride All
Allow from all
Require local
NOTE: I was still getting permission denied when I only had Allow from all. Adding Require local helped for me.