thinkphp5开发的网站出现”No input file specified”
在public文件夹里面找到 .htaccess文件,然后修改为
<IfModule mod_rewrite.c> Options +FollowSymlinks -Multiviews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L] </IfModule>
其实就是在正则结果“/$1”前面多加了一个“?”号
杂念太多,必然根基浅薄