Hi there,

I'm following the instructions in this guide:

http://learn.iis.net/page.aspx/208/fastcgi-with-php/

The part where it says:

PHP Process Recycling Behavior
Make sure that FastCGI always recycles php-cgi.exe processes before the
native PHP recycling kicks in. The FastCGI process recycling behavior is
controlled by the configuration property instanceMaxRequests. This property
specifies how many requests FastCGI process will process before recycling.
PHP also has a similar process recycling functionality that is controlled by
an environment variable PHP_FCGI_MAX_REQUESTS. By setting
instanceMaxRequests to be smaller or equal to PHP_FCGI_MAX_REQUESTS, you can
ensure that native PHP process recycling logic will never kick in.

To set these configuration properties use the following commands:

C:\>%windir%\system32\inetsrv\appcmd set
config -section:system.webServer/fastCgi
/[fullPath='c:\{php_folder}\php-cgi.exe'].instanceMaxRequests:10000
C:\>%windir%\system32\inetsrv\appcmd set
config -section:system.webServer/fastCgi
/+[fullPath='c:\{php_folder}\php-cgi.exe'].environmentVariables.[name='PHP_FCGI_MAX_REQUESTS',
value='10000']

Note: If those parameters have not been set

the first command works ok, the second one returns:

ERROR ( message:Cannot find SITE object with identifier "value='10000']". )

anyone have any ideas?

thanks,
Andy