摘要: 1. 500 Internal Server Error 产生原因:主要是PHP执行脚本过程中产生致命的一些错误。 nginx error中的记录: 2. 502 Bad Gateway 产生原因:fpm挂掉nginx链接不上、fpm不再接受请求(请求打爆)、fpm 执行超时(request_ter 阅读全文
posted @ 2021-04-08 18:17 豆腐居士 阅读(356) 评论(0) 推荐(0) 编辑
摘要: PHP timeout配置: 1. php.ini max_execution_time 2. php-fpm.conf request_terminate_timeout Nginx timout参数 1. fastcgi fastcgi_connect_timeout 60s; 与FastCGI 阅读全文
posted @ 2021-04-08 16:59 豆腐居士 阅读(797) 评论(0) 推荐(0) 编辑
摘要: 感谢作者,原文链接:http://www.stelin.me/2017/06/09/php-fpm%E8%AF%A6%E8%A7%A3#%E4%B8%89%E7%A7%8D%E5%B7%A5%E4%BD%9C%E6%A8%A1%E5%BC%8F LNMP架构运行原理 nginx Nginx 采用单线 阅读全文
posted @ 2021-04-08 16:04 豆腐居士 阅读(377) 评论(0) 推荐(0) 编辑