thinkphp5和thinkphp3.2.3中URL重写出现No input file specified

查询后解决办法是打开public目录下的.htaccess文件,把:RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]


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


完整版: