|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27802 FastCGI PHP_FCGI_CHILDREN default unstable and undocumented.
Submitted: 2004-03-31 09:01 UTC Modified: 2004-07-05 14:45 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: tom at hur dot st Assigned:
Status: Not a bug Package: CGI/CLI related
PHP Version: 4.3.5 OS: FreeBSD 4.9-STABLE
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: tom at hur dot st
New email:
PHP Version: OS:


 [2004-03-31 09:01 UTC] tom at hur dot st
If you don't set the env variable PHP_FCGI_CHILDREN, PHP doesn't default to 8 as README.FastCGI suggests; it doesn't bother spawning extra processes at all (default is 0).  After PHP_FCGI_MAX_REQUESTS, PHP segfaults.

No apparant useful information from core or ktrace, other than seeing that it's not forking and falling over after exactly PHP_FCGI_MAX_REQUESTS; the fix looks fairly easy, though.. except maybe at children = 0 :)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-31 11:52 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

 [2004-07-05 13:54 UTC]
Not a code bug. The previous behaviour was correct. Unfortunately, the bogus code change has made it into PHP 4.3.7. Newer releases will revert to the proper behaviour.

 [2004-07-05 14:45 UTC] tom at hur dot st
The original behavior of not behaving as documented and crashing after a fixed number of requests was correct?  Silly me, sorry about wasting your time.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Feb 24 10:01:27 2024 UTC