PHP403问题
配置
小皮面板 PHP+Apache
Windows系统
描述
在Vscode直接用PHP Server: Reload sercer
打开显示403,改了各种配置文件都还是403
解决办法
Vscode打开时地址写的是绝对地址,改成相对地址后即可正常访问
原地址(报错403):
http://localhost:3000/d:/phpstudy_pro/WWW/index.php
更改后地址(可正常访问):
http://localhost:3000/index.php