ID:               41019
 Updated by:       [EMAIL PROTECTED]
 Reported By:      barborak at basikgroup dot com
-Status:           Open
+Status:           Assigned
-Bug Type:         CGI related
+Bug Type:         Feature/Change Request
 Operating System: Windows XP
 PHP Version:      6CVS-2007-04-07 (CVS)
-Assigned To:      
+Assigned To:      dmitry


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

Reply via email to