php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #41019 auto update feature for FastCGI for IIS
Submitted: 2007-04-07 20:20 UTC Modified: 2008-11-28 10:51 UTC
From: barborak at basikgroup dot com Assigned: dmitry (profile)
Status: Not a bug Package: Feature/Change Request
PHP Version: 6CVS-2007-04-07 (CVS) OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: barborak at basikgroup dot com
New email:
PHP Version: OS:

 

 [2007-04-07 20:20 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-11-28 10:51 UTC] dmitry@php.net
This is definitely not related to PHP but to FastCGI manager which is not a part of PHP. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 09:01:28 2024 UTC