|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #54293 _FCGI_SHUTDOWN_EVENT_ seam to not work
Submitted: 2011-03-17 14:18 UTC Modified: 2013-02-18 00:34 UTC
From: loki5100-nospam at yahoo dot fr Assigned:
Status: No Feedback Package: CGI/CLI related
PHP Version: 5.3.5 OS: Windows 2008
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.
Block user comment
Status: Assign to:
Bug Type:
From: loki5100-nospam at yahoo dot fr
New email:
PHP Version: OS:


 [2011-03-17 14:18 UTC] loki5100-nospam at yahoo dot fr

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

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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-03-18 03:41 UTC]
-Package: Scripting Engine problem +Package: CGI related
 [2011-04-24 23:21 UTC] svanderclock at yahoo dot fr
no comments? but is still present :(
 [2011-06-01 19:55 UTC] loki5100-nospam at yahoo dot fr
hello, no one can answer on this ???
 [2011-06-13 03:02 UTC]
-Status: Open +Status: Feedback
 [2011-06-13 03:02 UTC]
Please try using this snapshot:
For Windows:

 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Dec 11 07:01:31 2023 UTC