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

xiaoxiao2021-02-28  23

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

解决方法:

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

转载请注明原文地址: https://www.6miu.com/read-2629668.html

最新回复(0)