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

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

phpstudy切换php-nts访问时返回403_第1张图片


解决方法:

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

你可能感兴趣的:(php)