Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 972575
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T03:08:47+00:00 2026-05-16T03:08:47+00:00

UPDATED INFO: OS Windows 7 32bit Apache 2.2.15 PHP 5.2.13 This is really weird.

  • 0

UPDATED INFO:

OS Windows 7 32bit
Apache 2.2.15
PHP 5.2.13


This is really weird. When I got to this URI in my application:

/view/course/teid/1/cid/-1/pos/30

Apache crashes.

When I go to a very similar URI – like this one:

/view/course/teid/1/cid/-1/pos/29

Everything works fine.

This is from error log:

[Thu Aug 05 11:22:14 2010] [notice] Parent: child process exited with status 255 -- Restarting.

I have been able to track down the line which causes the Apache to crash:

if (true === $aCourseTree->SetNodePassed($node)) { // this line crashes Apache
    self::writeTreeToDb($aCourseTree, $training, $this->aUtils);
}

The method is here:

public function SetNodePassed(CourseTreeNode $theNode)
{
    $aWasChange = !isset($theNode->Passed) || $theNode->Passed !== true;
    $theNode->Passed = true;

    if ($aWasChange && isset($theNode->Parent)) {
        if (true === $this->AreChildrenPassed($theNode->Parent)) {
            $this->SetNodePassed($theNode->Parent);
        }
    }
    return $aWasChange;
}

What the hell is going on? If there is some error, it should just be a PHP error. Why does Apache crash?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T03:08:48+00:00Added an answer on May 16, 2026 at 3:08 am

    How are you running PHP in your Apache?

    mod_php can easily kill an Apache worker process[1], and the correct course of action for the Apache server as a whole is to try to return to as ‘clean’ a state as possible. It is nearly impossible for a process to clean up after corrupted memory, but restarting is very safe and easy.[2] It goes a long way towards returning the system to a known-good state.

    You may wish to switch to a FastCGI implementation instead of mod_php; if you need more reasons, here’s a very well-written set of reasons:

    http://www.majordojo.com/2007/11/is-mod-php-falling-out-of-favor-with-hosting-providers.php

    [1] The PHP team asked Linux distribution security teams to stop calling php-interpreter crash bugs “security problems” — they fixed those sorts of bugs so often, that remotely-exploitable security bugs in php and its libraries were getting drowned out in the noise.

    [2] Of course, to re-execute itself, it would need to call one of the exec() functions on memory that could possibly be corrupted, but hopefully the only corrupted memory in the master Apache process would be the scoreboard. So a re-exec should be safe enough.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

( Updated a little ) I'm not very experienced with internationalization using PHP, it
I've updated php.ini and moved php_mysql.dll as explained in steps 6 and 8 here.
I've recently updated an application to the 3.5 framework (from 2.0). The app links
Just updated build server with rc0 and surprise no chiron. Wondering how you package
Here is the updated question: the current query is doing something like: $sql1 =
We've just updated ASP.NET from Preview 3 to Preview 5 and we've run into
I've updated my TortoiseSVN client and now I'm getting the error when trying to
I've just updated my ruby installation on my gentoo server to ruby 1.8.6 patchlevel
My zune just updated to 3.0 (didn't even realize they were releasing something new!)
Here is my function ( updated ): Public Shared Function shortenUrl(ByVal URL As String)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.