Skip to content

Commit 8fe84f9

Browse files
committed
1 parent 8247806 commit 8fe84f9

File tree

2 files changed

+13
-41
lines changed

2 files changed

+13
-41
lines changed

interface/web/admin/form/server_config.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@
690690
'datatype' => 'INTEGER',
691691
'formtype' => 'SELECT',
692692
'default' => '2',
693-
'value' => array('1' => 'Old', '2' => 'New'),
693+
'value' => array('1' => 'Old (apache 2.0)', '2' => 'New (apache 2.2)'),
694694
'width' => '40',
695695
'maxlength' => '255'
696696
),

server/conf/vhost.conf.master

Lines changed: 12 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -149,55 +149,27 @@
149149
</tmpl_if>
150150
<tmpl_if name='php' op='==' value='fast-cgi'>
151151
# php as fast-cgi enabled
152+
# For config options see: http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html
152153
<IfModule mod_fcgid.c>
153-
154-
# SocketPath /tmp/fcgid_sock/
155-
156-
# IdleTimeout n (300 seconds)
157-
# An idle fastcgi application will be terminated after IdleTimeout seconds.
158-
# FcgidIdleTimeout 300
154+
<tmpl_if name='fastcgi_config_syntax' op='==' value='1'>
159155
IdleTimeout 300
160-
161-
# ProcessLifeTime n (3600 seconds)
162-
# A fastcgi application will be terminated if lifetime expired, even no error is detected.
163-
# FcgidProcessLifeTime 3600
164156
ProcessLifeTime 3600
165-
166-
# MaxProcessCount n (1000)
167-
# The max count of total fastcgi process count.
168-
# FcgidMaxProcesses 1000
169157
MaxProcessCount 1000
170-
171-
# DefaultMinClassProcessCount n (3)
172-
# The minimum number of fastcgi application instances for any one fastcgi application.
173-
# Idle fastcgi will not be killed if their count is less than n
174-
# Set this to 0, and tweak IdleTimeout
175-
# FcgidMinProcessesPerClass 0
176158
DefaultMinClassProcessCount 0
177-
178-
# DefaultMaxClassProcessCount n (100)
179-
# The maximum number of fastcgi application instances allowed to run for
180-
# particular one fastcgi application.
181-
# FcgidMaxProcessesPerClass 100
182159
DefaultMaxClassProcessCount 100
183-
184-
# IPCConnectTimeout n (3 seconds)
185-
# The connect timeout to a fastcgi application.
186-
# FcgidConnectTimeout 3
187160
IPCConnectTimeout 3
188-
189-
# IPCCommTimeout n (20 seconds)
190-
# The communication timeout to a fastcgi application. Please increase this
191-
# value if your CGI have a slow initialization or slow respond.
192-
# FcgidIOTimeout 360
193161
IPCCommTimeout 360
194-
195-
# BusyTimeout n (300 seconds)
196-
# A fastcgi application will be terminated if handing a single request
197-
# longer than busy timeout.
198-
# FcgidBusyTimeout 300
199162
BusyTimeout 300
200-
163+
<tmpl_else>
164+
FcgidIdleTimeout 300
165+
FcgidProcessLifeTime 3600
166+
FcgidMaxProcesses 1000
167+
FcgidMinProcessesPerClass 0
168+
FcgidMaxProcessesPerClass 100
169+
FcgidConnectTimeout 3
170+
FcgidIOTimeout 360
171+
FcgidBusyTimeout 300
172+
</tmpl_if>
201173
</IfModule>
202174
<Directory {tmpl_var name='web_document_root_www'}>
203175
AddHandler fcgid-script .php .php3 .php4 .php5

0 commit comments

Comments
 (0)