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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: loki5100-nospam at yahoo dot fr
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Sat Dec 21 17:01:58 2024 UTC