已解决 phpstudy切换nts模式出现的No input f

2019-05-13  本文已影响0人  小马儿_

在切换到PHPstudy的nts模式时出现的No input file specified


找到Thinkphp的public文件夹下的 .htaccess
修改

RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]

为在下面的内容,即可使用phpstudy的nts模式:

RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]

如果不用必须使用nts模式,切换到非nts模式即可使用。


如有错误,欢迎留言。
😄

上一篇 下一篇

猜你喜欢

热点阅读