104 lines
4.1 KiB
HTML
104 lines
4.1 KiB
HTML
|
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||
|
"http://www.w3.org/TR/html4/loose.dtd">
|
||
|
|
||
|
<html>
|
||
|
|
||
|
<head>
|
||
|
|
||
|
<title>The mod_fcgid Home Page</title>
|
||
|
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||
|
|
||
|
</head>
|
||
|
|
||
|
<body bgcolor="#ffffff">
|
||
|
|
||
|
<table border="0" cellpadding="5" cellspacing="0" width="893">
|
||
|
|
||
|
<tr>
|
||
|
|
||
|
<td align="center" valign="top" width="200">
|
||
|
|
||
|
|
||
|
|
||
|
<table cellpadding="5" cellspacing="0">
|
||
|
|
||
|
<tr>
|
||
|
|
||
|
<td nowrap bgcolor="#f8eda6" align="left">
|
||
|
|
||
|
<a href="index.htm">Home</a> <br>
|
||
|
<a href="index.cn.htm">Chinese Info</a> <br>
|
||
|
<a href="download.htm">Download (source)</a> <br>
|
||
|
<a href="doc.htm">Documentations</a> <br>
|
||
|
|
||
|
|
||
|
<a href="feedback.htm">Feedback</a>
|
||
|
|
||
|
|
||
|
</td> </tr> </table> </td>
|
||
|
|
||
|
<td valign="top" width="669">
|
||
|
|
||
|
<ul>
|
||
|
<li>
|
||
|
|
||
|
<p><b><font size="4">Here are some examples of configuration</font></b></p>
|
||
|
</li>
|
||
|
</ul>
|
||
|
|
||
|
<p><a href="configuration.htm#regular fastcgi">Configuration for Regular fastcgi
|
||
|
(non-PHP, non-Ruby, non-Python) </a><p><a href="configuration.htm#suEXEC">Configuration
|
||
|
for suEXEC fastcgi</a><p><a href="configuration.htm#PHP">Configuration for PHP
|
||
|
(UNIX)</a><p><a href="configuration.htm#suPHP">Configuration for suPHP (UNIX)</a><p><a href="configuration.htm#PHP-Windows">Configuration
|
||
|
for PHP (Windows)</a><p>
|
||
|
<hr>
|
||
|
<ul>
|
||
|
<li><h2><b><font size="4">There are
|
||
|
some other configurations you can set</font></b></h2>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<p><b>IdleTimeout n (300
|
||
|
seconds)</b><p>An idle fastcgi application will be terminated after IdleTimeout
|
||
|
seconds. <p><b>IdleScanInterval n (120 seconds)</b><p>The scan interval for idle
|
||
|
fastcgi applications. <p><b>BusyTimeout n (300 seconds)</b><p>a fastcgi
|
||
|
application will be terminated if handing a single request longer than busy
|
||
|
timeout.<p><b>BusyScanInterval n (120 seconds)</b><p>The scan interval for busy
|
||
|
timeout fastcgi applications.<p><b>ErrorScanInterval n (3 seconds)</b><p>The
|
||
|
scan interval for exit pending fastcgi applications. fastcgi applications will
|
||
|
be terminated within this scanning.<p><b>ZombieScanInterval n (3 seconds)</b><p>The
|
||
|
scan interval for zombie process. <p><b>ProcessLifeTime n (3600 seconds)</b><p>A
|
||
|
fastcgi application will be terminated if lifetime expired, even no error is
|
||
|
detected.<p><b>SocketPath path (logs/fcgidsock)</b><p>The directory to put the
|
||
|
UNIX domain socket. (UNIX only)<p><b>SpawnScoreUpLimit n (10)</b><p>The
|
||
|
spawn-speed control score up water limit. Score increases while a process is spawned or terminated, and decreases
|
||
|
as time progresses; while the score is higher than <b>SpawnScoreUpLimit</b>, the spawning will be
|
||
|
held for a while. The higher this number is, the higher speed of the spawning
|
||
|
can be.<p><b>SpawnScore n (1)</b><p>The weight of spawning. This weight
|
||
|
will be plused to the spawn-control score on every spawn. The higher this number
|
||
|
is, the lower speed of spawning can be.<p><b>TerminationScore n (2)</b><p>The
|
||
|
weight of termination. This weight will be plused to the score while fastcgi
|
||
|
process terminates. The higher this number is, the lower speed of spawning can
|
||
|
be.<p><b>MaxProcessCount n (1000)</b><p>The max count of total fastcgi process
|
||
|
count.<p><b>DefaultMaxClassProcessCount n (100)</b><p>The maximum number of
|
||
|
fastcgi application instances allowed to run for any one fastcgi application. <p><b>DefaultMinClassProcessCount n
|
||
|
(3)</b><p>The minimum number of
|
||
|
fastcgi application instances for any one fastcgi application. <p><b>DefaultInitEnv
|
||
|
env_name env_value</b><p>The default environment variables before a fastcgi
|
||
|
application is spawned. You can set this configuration more
|
||
|
than once.<p><b>IPCConnectTimeout n (3 seconds)</b><p>The connect timeout to a
|
||
|
fastcgi application. <p><b>IPCCommTimeout n (20 seconds)</b><p>The communication
|
||
|
timeout to a fastcgi application. Please increase this value if your CGI have a
|
||
|
slow initialization or slow respond.<p><b>OutputBufferSize n (64k bytes)</b><p>CGI
|
||
|
output cache buffer size.<p><b>PHP_Fix_Pathinfo_Enable</b><b> n(n=0/1, default 0)</b><p>If
|
||
|
you are using PHP and set cgi.fix_pathinfo=1 in php.ini, set
|
||
|
PHP_Fix_Pathinfo_Enable 1.
|
||
|
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
|
||
|
</table>
|
||
|
|
||
|
</body></html>
|