From:             basant dot kukreja at sun dot com
Operating system: Solaris 10
PHP version:      5.2.6
PHP Bug Type:     CGI related
Bug description:  php fastcgi parent process doesn't invoke php_module_shutdown 
before shutdown

Description:
------------
php fastcgi parent process calls sapi_startup but it doesn't call
php_module_shutdown before exiting. The result of this is :
1) php behavior is different when running inside apache and inside
fastcgi.
   When running inside apache, parent apache process calls
php_module_shutdown.
2) Since php fastcgi parent doesn't call php_module_shutodown, it doesn't
give
   modules like apc to do proper cleanup chance. Note that apc creates
semaphores
   and it needs to know if parent process is shutting down to cleanup
semaphores.
   Here is the APC  bug link : http://pecl.php.net/bugs/bug.php?id=5280




-- 
Edit bug report at http://bugs.php.net/?id=45423&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45423&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45423&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45423&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45423&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=45423&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45423&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45423&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45423&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45423&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45423&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=45423&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=45423&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45423&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45423&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45423&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45423&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45423&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45423&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45423&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45423&r=mysqlcfg

Reply via email to