thinkphp tp 提示no input file specified
thinkphp 服务器环境找不到路由
按照tp官方文档的url重写部份,按照文档设置,不同的是把public下面的.htaccess文件的 RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] 改为 RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
Options +FollowSymlinks -Multiviews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f #RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]