Apache - child process exited with status 255

7,822

Solution 1

Switched to a Mac. Now works beautifully.

Solution 2

I had this same problem, almost always this is something related to incompatible versions(apache and php) or compiled with different compilers(VC11, VC14) of for different platform(64bit 32bit). So just make sure you have everything as compatible as possible. I finally got it working with: httpd-2.4.20-win32-VC11 php-5.6.20-Win32-VC11-x86

Share:
7,822

Related videos on Youtube

Brian
Author by

Brian

Updated on September 18, 2022

Comments

  • Brian
    Brian over 1 year

    I am running Windows 7 64-bit with an older version of (Apache 2.0.59) and PHP 5.2 - just switched from XP and wanted to keep the same versions.

    Everything will initially be working fine, but then I'll be trying to load a page and Apache crashes. I'll get an error in the browser that says "The connection to the server was reset while the page was loading." Then Apache stops running. Sometimes it can be restarted, but then crashes again on the next page load. Sometimes it can't even be restarted at all.

    Looking in the Apache error logs, I see a series of messages that goes something like:

    [notice] Apache/2.0.59 (Win32) PHP/5.2.13 configured -- resuming normal operations
    [notice] Server built: Jul 27 2006 15:55:03
    [notice] Parent: Created child process 1220
    [notice] Child 1220: Child process is running
    [notice] Child 1220: Acquired the start mutex.
    [notice] Child 1220: Starting 250 worker threads.
    [notice] Parent: child process exited with status 255 -- Restarting.
    

    I have just come from Win XP where I never had any problems - is this an issue with my Apache version on Win7? Or perhaps it's a configuration issue? Any help would be greatly appreciated, I've done days of research and found nothing helpful.

    Thanks, Brian

    • Admin
      Admin about 14 years
      Any php errors ? Maybe some infinite loop somewhere or a memory issue ? You running mysql also ? if so is this module included in php : PDO_MySQL ?
    • Shawn
      Shawn over 10 years
      Did anyone ever find a solution on this? Running WAMP, PHP 5.4.13, apache 2.4.4?