Apache 设置成mod_fcgid方式,运行超时

发布:2018-08-07 07:46   点击171次   评论:0
https://bbs.csdn.net/topics/390831020

Apache 设置成mod_fcgid方式,运行超时


phpinfo() 看看 mod_fcgid 的Timeout 时间各显示多少?你的Apache版本是多少?老版本设置里不要加 Fcgid 开头,直接 ConnectTimeout 1000


<IfModule mod_fcgid.c>

   AddHandler fcgid-script .fcgi .php

  InitialEnv PHPRC "E:/PHP"

  InitialEnv PHP_FCGI_MAX_REQUESTS 1000

  MaxRequestsPerProcess 1000

   MaxProcesses 5

   IOTimeout  1000

   IdleTimeout 1000

  ConnectTimeout 1000

  BusyTimeout 1000

  ProcessLifeTime 1000

  MaxRequestLen  1675864000

  Wrapper "E:/uonno/PHP/php-cgi.exe"

  AddType application/x-httpd-php .php

</IfModule>

关于 GitHub 导航 部门 反馈

提示:`/home.php`入口数据仅为演示功能,不构成任何交易凭证,也不承担相关风险和责任!

Copyright © 2011-2018 xxxxx.com All rights reserved.

Run:4.713/35.595(ms); 7(sql)/2.877(MB); comm:news/detail; Upd:2024-04-19 18:42:40