thinkphp5中php7中运行会出现No input file specified. 这个你改个东西

<IfModule mod_rewrite.c>
  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]

</IfModule>
posted @ 2018-09-07 11:32  HaimaBlog  阅读(2516)  评论(0编辑  收藏  举报