#47412 [Opn->Fbk]: PHP_MSHUTDOWN_FUNCTION not being called under FastCGI
ID: 47412 Updated by: j...@php.net Reported By: tser at deltacontrols dot com -Status: Open +Status: Feedback Bug Type: CGI related Operating System: win32 only - Vista PHP Version: 5.2.9RC2 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ Previous Comments: [2009-04-21 16:38:31] tser at deltacontrols dot com I don't understand the question about parent and child. It is simply the PHP_MSHUTDOWN_FUNCTION not being called (in FastCGI in IIS). You cannot duplicate it in linux because it does not happen in linux. The bug never mention linux. The problem is when using PHP in FastCGI mode using IIS (in Vista, not linux) [2009-04-21 09:50:23] j...@php.net Are you talking about the parent or childs? (And I can not reproduce this on linux, shutdown for every extension is definately called..) [2009-02-17 19:25:07] tser at deltacontrols dot com I mean when php-cgi.exe terminates MSHUTDOWN is not being called. This happen when running in FastCGI mode under IIS. [2009-02-17 15:40:16] johan...@php.net What do you mean by "recycled"? A new request coming in? MSHUTDOWN is only called when the PHP process terminates. RSHUTDOWN is the one being called after each request at request shutdown. [2009-02-16 20:58:14] tser at deltacontrols dot com Description: Using FastCGI with IIS, the PHP_MSHUTDOWN_FUNCTION of any extensions are not being called when the php_cgi.exe process is recycled. PHP_MINIT_FUNCTION(xxx) { REGISTER_INI_ENTRIES(); } PHP_MSHUTDOWN_FUNCTION(xxx) { UNREGISTER_INI_ENTRIES(); return SUCCESS; } It happens on our custom extension and any standard extension. It could be easily duplicatable even by putting a break point on PHP_MSHUTDOWN_FUNCTION in php_date.c Reproduce code: --- Expected result: PHP_MSHUTDOWN_FUNCTION being called. Actual result: -- PHP_MSHUTDOWN_FUNCTION not being called. -- Edit this bug report at http://bugs.php.net/?id=47412&edit=1
#47412 [Opn->Fbk]: PHP_MSHUTDOWN_FUNCTION not being called under FastCGI
ID: 47412 Updated by: j...@php.net Reported By: tser at deltacontrols dot com -Status: Open +Status: Feedback Bug Type: CGI related Operating System: Vista 64 PHP Version: 5.2.9RC2 -Assigned To: +Assigned To: fb-req-jani New Comment: Are you talking about the parent or childs? (And I can not reproduce this on linux, shutdown for every extension is definately called..) Previous Comments: [2009-02-17 19:25:07] tser at deltacontrols dot com I mean when php-cgi.exe terminates MSHUTDOWN is not being called. This happen when running in FastCGI mode under IIS. [2009-02-17 15:40:16] johan...@php.net What do you mean by "recycled"? A new request coming in? MSHUTDOWN is only called when the PHP process terminates. RSHUTDOWN is the one being called after each request at request shutdown. [2009-02-16 20:58:14] tser at deltacontrols dot com Description: Using FastCGI with IIS, the PHP_MSHUTDOWN_FUNCTION of any extensions are not being called when the php_cgi.exe process is recycled. PHP_MINIT_FUNCTION(xxx) { REGISTER_INI_ENTRIES(); } PHP_MSHUTDOWN_FUNCTION(xxx) { UNREGISTER_INI_ENTRIES(); return SUCCESS; } It happens on our custom extension and any standard extension. It could be easily duplicatable even by putting a break point on PHP_MSHUTDOWN_FUNCTION in php_date.c Reproduce code: --- Expected result: PHP_MSHUTDOWN_FUNCTION being called. Actual result: -- PHP_MSHUTDOWN_FUNCTION not being called. -- Edit this bug report at http://bugs.php.net/?id=47412&edit=1
#47412 [Opn->Fbk]: PHP_MSHUTDOWN_FUNCTION not being called under FastCGI
ID: 47412 Updated by: johan...@php.net Reported By: tser at deltacontrols dot com -Status: Open +Status: Feedback Bug Type: CGI related Operating System: Vista 64 PHP Version: 5.2.9RC2 New Comment: What do you mean by "recycled"? A new request coming in? MSHUTDOWN is only called when the PHP process terminates. RSHUTDOWN is the one being called after each request at request shutdown. Previous Comments: [2009-02-16 20:58:14] tser at deltacontrols dot com Description: Using FastCGI with IIS, the PHP_MSHUTDOWN_FUNCTION of any extensions are not being called when the php_cgi.exe process is recycled. PHP_MINIT_FUNCTION(xxx) { REGISTER_INI_ENTRIES(); } PHP_MSHUTDOWN_FUNCTION(xxx) { UNREGISTER_INI_ENTRIES(); return SUCCESS; } It happens on our custom extension and any standard extension. It could be easily duplicatable even by putting a break point on PHP_MSHUTDOWN_FUNCTION in php_date.c Reproduce code: --- Expected result: PHP_MSHUTDOWN_FUNCTION being called. Actual result: -- PHP_MSHUTDOWN_FUNCTION not being called. -- Edit this bug report at http://bugs.php.net/?id=47412&edit=1