Posts Tagged ‘lamp’

Random xampp crashes on Windows

Tuesday, January 27th, 2009

One of my clients requires that all work be done on their computers, in office, running XP. Development environment is pretty standard. Eclipse with PDT, xampp for a local environment.

Today I ran into a problem where Apache was crashing constantly, and at first glance randomly. Dug into the Apache logs and saw this:

Parent: child process exited with status 3221225477

Huh?

Turned up the verbosity to debug for Apache logging and got the same error without any extra information related to it. After googling around a bit, found this: http://www.apachefriends.org/f/viewtopic.php?f=16&t=32617

Looks like the problem has to do with pdo mysql in xampp. To fix, download the latest php and replace libmysql.dll in xampp\apache\bin and xampp\php. So easy, yet such a frustrating error! I’m just curious as to whether it was a packaging error or???

Anyway, just wanted to write about both as a reminder for me, and maybe someone will find it useful if they run into the same problem.