博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
nginx 和 php超时设置
阅读量:6977 次
发布时间:2019-06-27

本文共 464 字,大约阅读时间需要 1 分钟。

nginx.conf ---  http节:

keepalive_timeout 600; #客户端浏览器超时时间
fastcgi_connect_timeout 600; #php-fpm连接超时时间(等待php执行的最长时间,超过这个会向浏览器返回504或502)
fastcgi_send_timeout 600; #
fastcgi_read_timeout 600;
php-fpm.conf :
pm.max_children = 40 #最大子进程数量
request_terminate_timeout = 600 #php-fpm进程执行超时时间
php.ini :
max_execution_time = 300 #php执行超时时间
max_input_time = 300 #获取post上传数据最长时间
memory_limit = 128M #内存限制
default_socket_time

转载于:https://www.cnblogs.com/applelife/p/10448534.html

你可能感兴趣的文章
使用 CAS 在 Tomcat 中实现单点登录
查看>>
Podfile 常见语法
查看>>
【原】YUI压缩与CSS media queries下的bug
查看>>
[AWK]使用AWK进行分割字符串以及截取字符串
查看>>
SiteMesh介绍
查看>>
form实现登陆操作
查看>>
SpriteBuilder中如何平均拉伸精灵帧动画的距离
查看>>
poj1330Nearest Common Ancestors 1470 Closest Common Ancestors(LCA算法)
查看>>
dojo从asp.net中获取json数据
查看>>
Android:problem opening wizard the selected wizard could not be started
查看>>
PostgreSQL md5 auth method introduce, with random salt protect
查看>>
【spring框架】spring整合hibernate初步
查看>>
JVM调优总结
查看>>
PostgreSQL 9.3 beta2 stream replication primary standby switchover bug?
查看>>
创业思维 - Qunar的故事
查看>>
STM32中GPIO的8种工作模式
查看>>
一分钟了解阿里云产品:先知计划
查看>>
Centos 7环境下源码安装PostgreSQL数据库
查看>>
推荐一款 Flutter Push 推送功能插件
查看>>
数据结构(队列实现篇)
查看>>