Skip to content

phpstudy 切换 php-nts 访问时返回 403

使用 phpstudy 搭建 php 环境,如果使用了.htaccess 进行路由设置,在使用 php-ts 时可以正常访问,而切换到 php-nts 时访问时可能会返回 403 错误:

解决方法:

将.htaccess 文件中的"Options FollowSymLinks"注释或删除即可正常访问