Edit report at http://bugs.php.net/bug.php?id=54293&edit=1
ID: 54293
Comment by: loki5100-nospam 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:
hello, no one can answer on this ???
Previous Comments:
------------------------------------------------------------------------
[2011-04-24 23:21:53] svanderclock at yahoo dot fr
no comments? but is still present :(
------------------------------------------------------------------------
[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