• 欢迎浏览“String me = Creater\忠实的资深Linux玩家;”,请文明浏览,理性发言,有侵犯你的权益请邮件我(creater@vip.qq.com).
  • 把任何的失败都当作一次尝试,不要自卑;把所有的成功都想成是一种幸运,不要自傲。
  •    2年前 (2016-04-21)  ecshop |   抢沙发  15 
    文章评分 0 次,平均分 0.0

    fread timeout with 'mod_fcgid: read timeout from pipe'

    修改如下

    FcgidIOTimeout 1200
    FcgidConnectTimeout 1200
    FcgidBusyScanInterval 1200
    FcgidBusyTimeout 1200
    FcgidErrorScanInterval 1200
    FcgidIdleScanInterval 1200
    FcgidIdleTimeout 1200

    FcgidProcessLifeTime 3600
    FcgidZombieScanInterval 1200


    或者

    AddHandler fcgid-script .fcgi .php
    # Where to look for the php.ini file?
    FcgidInitialEnv PHPRC "d:/wamp2.3/bin/apache/apache2.3.14/bin"
    # Set PHP_FCGI_MAX_REQUESTS to greater than or equal to FcgidMaxRequestsPerProcess
    # to prevent php-cgi process from exiting before all requests completed
    FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 1000
    # Maximum requests a process should handle before it is terminated
    FcgidMaxRequestsPerProcess 1000
    # Maximum number of PHP processes
    FcgidMaxProcesses 15
    # Number of seconds of idle time before a php-cgi process is terminated
    FcgidIOTimeout 1200
    FcgidIdleTimeout 1200
    #Path to php-cgi
    FcgidWrapper "d:/wamp2.3/bin/php/php5.4/php-cgi.exe" .php
    # Define the MIME-Type for ".php" files
    AddType application/x-httpd-php .php

     

    除特别注明外,本站所有文章均为String me = "Creater\忠实的资深Linux玩家";原创,转载请注明出处来自http://unix8.net/home.php/4777.html

    关于

    发表评论

    暂无评论

    切换注册

    登录

    忘记密码 ?

    切换登录

    注册

    扫一扫二维码分享