thinkphp 5.6以上版本出现No input file specified解决办法

打开thinkphp,出现No input file specified.

解决方法:在工程下的.htaccess文件里,

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

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

猜你喜欢

转载自www.cnblogs.com/cblx/p/10316344.html