#41019 [Asn->Bgs]: auto update feature for FastCGI for IIS
| From: | dmitry@php.net | Date: | Fri, 28 Nov 2008 10:51:59 +0000 |
| Subject: | #41019 [Asn->Bgs]: auto update feature for FastCGI for IIS | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-131433@lists.php.net to get a copy of this message | ||
ID: 41019
Updated by: dmitry@php.net
Reported By: barborak at basikgroup dot com
-Status: Assigned
+Status: Bogus
Bug Type: Feature/Change Request
Operating System: Windows XP
PHP Version: 6CVS-2007-04-07 (CVS)
Assigned To: dmitry
New Comment:
This is definitely not related to PHP but to FastCGI manager which is
not a part of PHP.
Previous Comments:
------------------------------------------------------------------------
[2007-04-07 20:20:03] barborak at basikgroup dot com
Description:
------------
Hi,
I have written a patch to the FastCGI ISAPI DLL that emulates the
autoUpdate feature of the FastCGI module for Apache. With this feature,
the FastCGI process manager checks with each request if the dynamic
server's program has changed on disk since the dynamic server process
was started. If it has, it shuts down any currently running dynamic
server processes and starts new ones. This is a very handy feature
especially with systems under development.
Note that this need arises not from PHP usage but from using the
FastCGI ISAPI DLL to run Perl programs as FastCGI applications. I
previously opened a related bug (#37238) which was very kindly addressed
by edink.
I have posted my patch here:
http://www.basikgroup.com/temp/fastcgi_isapi_autoupdate_patch.txt
Using the new feature is a matter of adding this DWORD to the Registry
and setting it to 1:
HKLM/SOFTWARE/FASTCGI/DynamicAutoUpdate
By default, this feature is turned off.
For reference, the FastCGI Apache module autoUpdate feature is
described here:
http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiConfig
And it's implementation may be seen here (search for "// It exists"):
http://www.fastcgi.com/mod_fastcgi/mod_fastcgi.c
Thanks,
Mike
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41019&edit=1