thinkphp5安装php高版本出现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]
</IfModule>

  .htaccess 文件加上一个英文问号重启apache。

 

posted @ 2018-04-08 10:21  滴水穿石!  阅读(221)  评论(0编辑  收藏  举报