# apache_child_terminate on Apache 2.x

- Thread: https://externals.io/message/30154
- Original archive: https://news-web.php.net/php.internals/30154
- Started by Brian Moon on 2007-06-13T15:29:38+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #30154 — Brian Moon — 2007-06-13T15:29:38+00:00

URL: https://externals.io/message/30154#30154

So, Gentoo has removed Apache 1.3 from Portage.  RedHat and others has 
not installed it for years.  Frankly, the only reason we have for 
sticking with 1.3 is the lack of apache_child_terminate support in PHP 
for Apache 2.

Does Apache 2 simply not provide this anymore?  Was it left out for a 
philosophical reason?  Was it just over looked?  Like it or not, PHP is 
gonna have to work well on Apache 2 at some point.  I don't like it, but 
its reality.  AFAIK, this is the only apache function that does not work 
in Apache 2.

-- 

Brian Moon
Senior Developer
------------------------------
http://dealnews.com/
It's good to be cheap =)

---

## #30155 — Scott MacVicar — 2007-06-13T16:00:25+00:00

URL: https://externals.io/message/30154#30155 · In reply to: #30154

It's simply not supported within the Apache API any more, they removed
it between 1.3 and 2.0 due to the new MPM structure where a child
process was no longer serving only one request but could be serving dozens.

With the Worker MPM by default each child serves 25 requests, so it
wasn't practical to mark something to exit at the end of a request.

Scott

Brian Moon wrote:
> So, Gentoo has removed Apache 1.3 from Portage.  RedHat and others has
> not installed it for years.  Frankly, the only reason we have for
> sticking with 1.3 is the lack of apache_child_terminate support in PHP
> for Apache 2.
> 
> Does Apache 2 simply not provide this anymore?  Was it left out for a
> philosophical reason?  Was it just over looked?  Like it or not, PHP is
> gonna have to work well on Apache 2 at some point.  I don't like it, but
> its reality.  AFAIK, this is the only apache function that does not work
> in Apache 2.
