thinkphp在php5.5版本以上”No input file specified“问题解决方法

作者:

.htaccess文件中的

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

在默认情况下会导致No input file specified.

修改成

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

问题解决。

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注