ThinkPHP, 5.5版本以上”No input file specified“问题解决

发布:2017-10-09 08:09   点击422次   评论:0

http://www.thinkphp.cn/topic/39172.html
5.5版本以上”No input file specified“问题解决

.htaccess文件中的

RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]

在默认情况下会导致No input file specified.修改成

RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
问题解决。

关于 GitHub 导航 部门 反馈

提示:`/home.php`入口数据仅为演示功能,不构成任何交易凭证,也不承担相关风险和责任!

Copyright © 2011-2018 xxxxx.com All rights reserved.

Run:2.953/29.628(ms); 7(sql)/2.875(MB); comm:news/detail; Upd:2024-03-28 17:30:42