在测试php代码的时候,看到apache的错误日志报错:Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting
文章插图
需要这些哦
Apache
wampserver
Windows操作系统
方式/
1查番英没看错误信息,wampserver节制面板里面找到apache_error.log文件,如下图所示选兼:
文章插图
2解决过程的
:打开wampserver节制面板里面找到httpd.conf文件,如下图所示:
文章插图
3【怎样提高Apache的ThreadsPerChild设置】打开httpd.conf文件,查询关头字‘httpd-mpm’,如下图所示:去失落前面的#号 。
文章插图
4在Apache的安装目次下,找到并点窜httpd-mpm.conf文件参数ThreadsPerChild,MaxConnectionsPerChild,如下图所示:
文章插图
文章插图
文章插图
5重肥王启Apache办事器
文章插图
以上内容就是怎样提高Apache的ThreadsPerChild设置的内容啦,希望对你有所帮助哦!
推荐阅读
- 车上有蟑螂怎么灭 车上有蟑螂的灭除方法
- 黑枸杞泡水喝的功效与作用 黑枸杞泡水喝的功效与作用有什么
- 手机迅雷怎么关闭通知
- UC浏览器如何清除记录
- 百度怎么管理推送兴趣
- 酷狗音乐中的酷狗商城怎么购物
- 怎么设置PPT幻灯片中表格的文字格式
- 雪梅古诗的意思 雪梅古诗是什么意思
- 挽狂澜于既倒 扶大厦之将倾出处的意思 挽狂澜于既倒扶大厦之将倾的出处和意思是什么
- OPPO手机如何更改默认输入法