phpstudy出现403错误
1. httpd.conf 文件,找到如下代码:
DocumentRoot "D:\phpStudy\PHPTutorial\WWW"
<Directory />
Options +Indexes +FollowSymLinks +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
将Deny from all 修改为 Allow from all.
2. 如果发现上面的配置是Allow from all,那么就设置phpStduy设置->允许目录列表