在切换到PHP的nts模式时出现的No input file specified
PHP nts 模式
ThinkPHP
找到Thinkphp的的 .htaccess,将以下内容
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
修改为
RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
在切换到PHP的nts模式时出现的No input file specified
PHP nts 模式
ThinkPHP
找到Thinkphp的的 .htaccess,将以下内容
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
修改为
RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]