Bug #54293 [Com]: _FCGI_SHUTDOWN_EVENT_ seam to not work

From: Date: Sun, 24 Apr 2011 21:21:55 +0000
Subject: Bug #54293 [Com]: _FCGI_SHUTDOWN_EVENT_ seam to not work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-160353@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=54293&edit=1

 ID:                 54293
 Comment by:         svanderclock at yahoo dot fr
 Reported by:        loki5100-nospam at yahoo dot fr
 Summary:            _FCGI_SHUTDOWN_EVENT_ seam to not work
 Status:             Open
 Type:               Bug
 Package:            CGI related
 Operating System:   Windows 2008
 PHP Version:        5.3.5
 Block user comment: N
 Private report:     N

 New Comment:

no comments? but is still present :(


Previous Comments:
------------------------------------------------------------------------
[2011-03-17 14:18:29] loki5100-nospam at yahoo dot fr

Description:
------------
hello,

when i create php-cgi in fastcgi mode i register an event in windows
using 
fServerterminationEvent:= CreateEvent(
                                      NiL,   //lpEventAttributes
                                      TRUE,  //bManualReset
                                      FALSE, //bInitialState
                                      NiL    //lpName
                                     );
and pass it to php-cgi.exe in the environnement variables:
_FCGI_SHUTDOWN_EVENT_ = inttostr(fServerterminationEvent)

but at the end, when we want to stop the php-CGI, then the instruction
		SetEvent(fServerterminationEvent);

did nothing ! php-cgi don't shut down ...

Expected result:
----------------
php-cgi.exe shut down by himself

Actual result:
--------------
php-cgi.exe not shut down by himself and we must kill it manually


------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=54293&edit=1


Thread (5 messages)

« previous php.bugs (#160353) next »