总结 1. 502没有收到相应,或者收到了但不及时? cannot get a response in time 540收到了无效的响应 received an invalid response from the upstream server, HTTP/1.1: Status Code Definitions https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10 10.5 Server Error 5xx Response…
今天用PHP执行一个非常耗时的文件[ps:自己有用,大概3分钟] 但是执行到一分钟后显示 nginx 504 Gateway Time-out 于是修改php-ini.php中的max_execution_time =1200;重启php,还是没用 突然明白,如果超时是php设置的问题,会报以下错误 Fatal error: Maximum execution time of 60 seconds exceeded in E:\ceshi\001\map.php on line 27 所以问题出…