ID: 47412
Comment by: tser at deltacontrols dot com
Reported By: tser at deltacontrols dot com
Status: Feedback
Bug Type: CGI related
Operating System: win32 only - Vista
PHP Version: 5.2.9RC2
Assigned To: pajoye
New Comment:
To answer the question, the values of PHP_FCGI_MAX_REQUESTS and
instanceMaxRequests ar eboth 10000. But they do not come into play to
duplicate this problem. The problem could be duplicated before number of
request reach these numbers.
I will try to explain the detail using just the standard extension
(php_date).
1. Setup PHP FactCGI in IIS. Everything default.
2. Try to run a test.php with this code <?phpinfo();?>
3. Attach the debugger to php_cgi.exe and make sure it loaded the debug
symbol of php_date.
4. Put a break point in PHP_MSHUTDOWN_FUNCTION inside php_date.c
5. Go to IIS Manager, Application Pools. Select DefaultAppPool and
click "Recycle..." on the right hand pane.
6. Notice that the php_cgi.exe will exit but your breakpoint in
php_date.c is not triggered.
Previous Comments:
------------------------------------------------------------------------
[2010-01-04 14:00:54] pajoye@php.net
It is called as expected (tested on vista/iis and in the console).
If you still experiece this problem, then please provide a detailed way
to reproduce:
- what are you doing exactly in IIS
- values of PHP_FCGI_MAX_REQUESTS and instanceMaxRequests (IIS
setting)
------------------------------------------------------------------------
[2009-12-23 02:27:19] pajoye@php.net
Will verify this issue once I'm back from vacation.
------------------------------------------------------------------------
[2009-12-23 02:15:37] liak dot liang at gmail dot com
Have the same problem in PHP5.3.0
------------------------------------------------------------------------
[2009-04-21 19:30:20] tser at deltacontrols dot com
5.2.10 (April 21) has the same problem.
------------------------------------------------------------------------
[2009-04-21 17:08:54] jani@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/47412--
Edit this bug report at http://bugs.php.net/?id=47412&edit=1