Maison >développement back-end >tutoriel php >apache mod_fcgi php
下载mod_fcgid.so
View Code
1 <IfModule mod_fcgid.c> 2 FcgidInitialEnv PHPRC "C:\php\php-5.4.4-nts-Win32-VC9-x86" 3 AddHandler fcgid-script .fcgi .php 4 FcgidMaxRequestsPerProcess 1000 5 FcgidMaxProcesses 5 6 FcgidIOTimeout 120 7 FcgidIdleTimeout 120 8 FcgidWrapper C:\php\php-5.4.4-nts-Win32-VC9-x86\php-cgi.exe .php 9 10 AddType application/x-httpd-php .php11 AddType application/x-httpd-php .phtml12 </IfModule>