FastCGI Timeout in IIS7 on Windows 2008
by Rich on Tue Nov 04, 2008 7:35 am
For those of you not familiar with the "FastCGI" extension its a very light weight and high speed CGI engine that's designed to speed up PHP and Perl based sites. More info can be found here http://www.fastcgi.com/drupal/.Anyway After its all setup and configured you may still have to tweak it. One of the things I had to do was extend the default activity timeout window. This is how much time the FastCGI extension will "wait" for PHP to get finished doing whatever its doing. For those of you familiar with FastCGI before you may have worked with the fcgiext.ini file - well on Windows 2008 that file is no longer available. Instead you must use following commands to set your timeout.
I had to tweak it to get the Gallery2 photo album to work - without this setting the connection would time out waiting for a large set of photos to be uploaded and processed. This fixed it.
- Code:
-
%windir%\system32\inetsrv\appcmd set config -section:system.webServer/fastCgi /[fullPath='C:\php\php-cgi.exe'].activityTimeout:600
You need to change the 'C:\php\php-cgi.exe' to the actual location PHP that you registered with IIS.
If you want to make double-check that the configuration worked properly, you can check it like this:
- Code:
-
%windir%\system32\inetsrv\appcmd list config -section:system.webServer/fastCgi
You should see output similar to the following:
- Code:
-
More information can be found here http://forums.iis.net/t/1076662.aspx
< Предыдущая | Следующая > |
---|
Еще из новых материалов:
- 25/12/2009 23:21 - Sony Ericsson PC Suite телефон не обнаружен
- 14/11/2009 00:08 - Продлеваем пробный период Windows Server 2008 до 240 дней
- 29/10/2009 23:45 - JCE Utilitity и Internet Explorer8
- 15/01/2009 00:00 - Internet explorer и yootooltip
- 14/01/2009 02:19 - System cashe плагин пропадают изображения
Еще из старых материалов:
- 12/01/2009 19:23 - Mod rewrite и blank.png
- 12/01/2009 19:02 - Различие между абсолютными и относительными путями. В файловой системе и на сайте.
- 12/11/2008 23:23 - Этапы загрузки Windows XP
- 12/11/2008 23:17 - Загрузочные файлы Windows XP/NT