Bug #54293 [Opn->Fbk]: _FCGI_SHUTDOWN_EVENT_ seam to not work
| From: | felipe@php.net | Date: | Mon, 13 Jun 2011 01:02:50 +0000 |
| Subject: | Bug #54293 [Opn->Fbk]: _FCGI_SHUTDOWN_EVENT_ seam to not work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-161352@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
Updated by: felipe@php.net
Reported by: loki5100-nospam at yahoo dot fr
Summary: _FCGI_SHUTDOWN_EVENT_ seam to not work
-Status: Open
+Status: Feedback
Type: Bug
Package: CGI related
Operating System: Windows 2008
PHP Version: 5.3.5
Block user comment: N
Private report: N
New Comment:
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
Previous Comments:
------------------------------------------------------------------------
[2011-06-01 19:55:33] loki5100-nospam at yahoo dot fr
hello, no one can answer on this ???
------------------------------------------------------------------------
[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