码迷,mamicode.com
首页 > Web开发 > 详细

apache使用fastcgi方式 (mod_fcgid)

时间:2015-04-28 20:36:26      阅读:587      评论:0      收藏:0      [点我收藏+]

标签:

下载:http://httpd.apache.org/download.cgi#mod_fcgid

wget http://mirrors.cnnic.cn/apache//httpd/mod_fcgid/mod_fcgid-2.3.9.tar.gz

tar -zxvf mod_fcgid-2.3.9.tar.gz

cd mod_fcgid-2.3.9

APXS=/usr/sbin/apxs ./configure.apxs

make

make install

 

 

 

 LoadModule fcgid_module modules/mod_fcgid.so

<IfModule fcgid_module>
FcgidIOTimeout 384
FcgidConnectTimeout 360
FcgidOutputBufferSize 128
FcgidMaxRequestsPerProcess 1000
FcgidMinProcessesPerClass 0
FcgidMaxProcesses 16
FcgidMaxRequestLen 268435456
ProcessLifeTime 360
FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 1000
FcgidInitialEnv PHPRC "/etc/"
AddHandler fcgid-script .php
FcgidWrapper "/usr/bin/php-cgi" .php
</IfModule>

apache使用fastcgi方式 (mod_fcgid)

标签:

原文地址:http://www.cnblogs.com/LoveJulin/p/4463607.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!