php.net |  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
2 + 30 = ?
Subscribe to this entry?

 
 [2011-03-17 14:18 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-03-18 03:41 UTC] aharvey@php.net
-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] felipe@php.net
-Status: Open +Status: Feedback
 [2011-06-13 03:02 UTC] felipe@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 19:01:33 2024 UTC