TP5.1路由设置之后 报错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 [L,E=PATH_INFO:$1]
</IfModule>
原文链接:https://blog.csdn.net/qq_42289686/article/details/93136479