Forbidden
You don't have permission to access /DuoLamPHP/index.php on this server.
Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80 记得WAMP2.2安装之后不需要设置什么,这次总是爆出Forbidden错误 修改C:\wamp\bin\apache\apache2.4.9\conf\httpd.conf文件
<Directory />
AllowOverride none
Require all denied
</Directory>
修改成:
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
Satisfy all
</Directory>
重启Apache
如果还是不行,注意检查一下
C:\Windows\System32\drivers\etc\hosts文件
看看里面是否有
#127.0.0.1 localhost
有的话,放开注释