phpstudy下PHP版本为nts模式时ThinkPHP出现的No input file specified
在切换到phpstudy的nts模式时出现的No input file specified
环境PHPstudy
ThinkPHP
找到Thinkphp的的 .htaccess,将以下内容
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
修改为
RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
版权声明:本文为原创文章,版权归 本站 所有,未经许可,不得转载。
本文地址:https://www.yiisu.vip/phpstuey_php_nts_no_input_file_specified.html
如对本文有疑问可在评论区留言,博主会尽力解答,同时欢迎关注微信公众号“云计算课代表”。