From: barborak at basikgroup dot com Operating system: Windows XP PHP version: 6CVS-2007-04-07 (CVS) PHP Bug Type: CGI related Bug description: auto update feature for FastCGI for IIS
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 bug report at http://bugs.php.net/?id=41019&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41019&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41019&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41019&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41019&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41019&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41019&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41019&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41019&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41019&r=support Expected behavior: http://bugs.php.net/fix.php?id=41019&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41019&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41019&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41019&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41019&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41019&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41019&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41019&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41019&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41019&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41019&r=mysqlcfg