我也是遇到一样的问题,ubuntu系统,通过apt安装的nginx和php7.2-fpm及其需要的扩展
查服务器日志发现如下问题
2019/09/29 02:33:24 [error] 6#6: *8 rewrite or internal redirection cycle while processing "/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/install.php/database/config/migrate", client: 172.18.0.1, server: appfront.fecshoptest.com, request: "GET /install.php/database/config/migrate HTTP/1.1", host: "appfront.fecshoptest.com", referrer: "http://appfront.fecshoptest.com/install.php"
感觉像是nginx的配置里rewrite的问题,可是nginx的配置文件用的是官方提供的标准配置,即地址:http://www.fecmall.com/topic/2101里的
不过配置里的fcgi.conf没有用,用的系统自带的fastcgi.conf。估计是这个文件头上的那几句起了什么作用,不过用了页面里的代码nginx启动报错,显示第4行问题,即那两句
if ($request_filename ~* (.*)\.php) {
set $php_url $1;
}
if (!-e $php_url.php) {
#return 403;
}
用了也是同样的错误,汗