ГлавнаяРегистрацияВходВ закладки

Главная » Статьи » CentOS » Как настроить CentOS
Как настроить fcgid.conf на Centos 6.7
Пример рабочей конфигурации FastCGI fcgid.conf:
Code:

# This is the Apache server configuration file for providing FastCGI support
# through mod_fcgid
#
# Documentation is available at
# http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html

LoadModule fcgid_module modules/mod_fcgid.so

# Use FastCGI to process .fcg .fcgi & .fpl scripts
AddHandler fcgid-script fcg fcgi fpl

# Sane place to put sockets and shared memory file
FcgidIPCDir /var/run/mod_fcgid
FcgidProcessTableFile /var/run/mod_fcgid/fcgid_shm



FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 18000 

FcgidMaxRequestLen 20971520 
FcgidMaxRequestInMem 5242880 
FcgidOutputBufferSize 4194304 
FcgidMaxRequestsPerProcess 18000 
FcgidMinProcessesPerClass 5 
FcgidMaxProcesses 96 
FcgidSpawnScoreUpLimit 6 
FcgidTimeScore 2 
FcgidConnectTimeout 5 
FcgidIOTimeout 235 
FcgidIdleTimeout 30 
FcgidIdleScanInterval 15 
FcgidBusyTimeout 245 
FcgidBusyScanInterval 20 
FcgidErrorScanInterval 3 
FcgidZombieScanInterval 1800 
FcgidProcessLifeTime 0 
Просмотров: 3953
Дата: 2015-12-12 14:13:12
Комментариев: 0
Источник: