Parent: child process exited with status 3221225477 -- Restarting

By: Emiley J.  

If you are getting this error, you are probably trying to use Apache, MySQL and PHP in a windows system. Just do this simple step to solve this issue.

It is quite frustrating to see that all your PHP pages suddenly doesn't seem to work. If you check your Apache log file you will see this error: Parent: child process exited with status 3221225477 -- Restarting

Don't worry just goto the PHP installation folder and look for libmysql.dll file.

Just copy this file and save it to your windows\system32 folder.

Now restart MySQL and Apache servers.

Everything should be fine now and all your PHP pages will work as normal.

Archived Comments

1. Solo reemplaza el contenido de la carpeta apache dentro de Xamp y listo, es bueno siempre tener un b
View Tutorial          By: Abel Rodrigo at 2014-03-21 13:14:01

2. Thank you! Solved many headaches :)
View Tutorial          By: Dominik at 2013-07-30 16:51:46

3. Your answer was right on the money! After searching all over the web I googled the error message an
View Tutorial          By: ooh la la at 2013-07-19 20:33:41

4. Thanks for the tips.

I hesitated to put this file into the System32 directory, instea

View Tutorial          By: Dick at 2011-10-09 15:21:50

5. Yesterday afternoon, I tried a lot of different suggestions from various sources: nothing worked. Th
View Tutorial          By: Leo at 2011-07-26 04:19:15

6. Yesterday afternoon, I tried a lot of different suggestions from various sources: nothing worked. Th
View Tutorial          By: Leo at 2011-07-26 04:03:24

7. Great!
Thnks for your help..

View Tutorial          By: ramu at 2011-06-18 07:56:56

8. Another solution to those, who feel that the problem is independent from mysql:


View Tutorial          By: Zoltán P. Ackermann at 2010-12-09 01:58:51

9. Apache was failing to deliver php pages that were accessing the mysql database with the error above.
View Tutorial          By: Ted at 2010-11-13 08:13:29

10. この記事のおかげ&
View Tutorial          By: bleu-bleut at 2010-08-18 06:08:57

11. The only thing that really was the solution to my problem was copy libmysql.dll to apache\bin direct
View Tutorial          By: nick marinho at 2010-07-24 17:45:59

12. May be someone would find this useful.

In my case too, apache crashed with the same e

View Tutorial          By: Vsk at 2010-02-22 00:48:42

13. Thanks to website. and very useful.
Again and agian Read the our site

View Tutorial          By: Samuel . A at 2010-01-29 01:29:51

14. Thanks to website. and very useful.
Again and agian Read the our site

View Tutorial          By: Samuel . A at 2010-01-29 01:29:22

15. Its not working for me, also tried things written in comments ... if there is any alternative soluti
View Tutorial          By: webian at 2010-01-24 10:33:23

16. Thanks a lot...I've been trying to fix my apache for 2 days...thanks again.
View Tutorial          By: Lázaro at 2010-01-20 03:32:07

17. in my case the culprit is xdebuger dll version 2.0.5.
after i changed to older version 2.0.0<

View Tutorial          By: putra at 2009-12-18 00:39:42

18. Windows XP
libmySQL.dll in package MySQL5.1.40 do not work with Apache5.2.14 and PHP5.2.11
View Tutorial          By: Bingo at 2009-11-07 20:11:52

19. I have copied c:\php\bin\msvcr80.dll to C:\Program Files\httpd\bin and have solution my problem of P
View Tutorial          By: agt at 2009-10-11 09:24:06

20. Well, this fix worked form me using Apache 2.2.11, PHP 5.2.8 and MySQL 5.1. 36. While Stan above is
View Tutorial          By: Bruce at 2009-07-21 15:03:02

21. 3221225477 is C0000005 in hex notation, which is just the good old general protection fault, caught
View Tutorial          By: Stan at 2009-06-29 12:14:25

22. i don't use mysql,but oracle.
how to resolve this problem?
thank you!

View Tutorial          By: Mike Zhu at 2009-06-23 19:20:06

23. Thanks heaps, I had the file already there but it must have been an old one. I was having this probl
View Tutorial          By: Jb at 2009-05-14 08:13:08

24. Try to copy libmysql.dll to \apache\bin also. I did it, restarted apache and it's running well for n
View Tutorial          By: SileNT at 2009-05-05 14:34:16

25. I get this error too, but my scrit doesint use mysql, so copying the file doesint help. There must b
View Tutorial          By: Paulius at 2009-04-29 12:35:55

26. Oh! Emiley, thank you very much! There are two long days of problem resolving and so easy answer..
View Tutorial          By: Alexey at 2009-04-09 14:17:31

27. finally! tnx google for taking me here :) my problem is fixed
tnx a lot dude

View Tutorial          By: dorinn at 2009-04-02 10:32:40

28. Thank you. This was a very annoying problem until I came across your fix. It's now nearly 5:00 AM
View Tutorial          By: CBL at 2009-03-02 02:52:00

29. i get this error too but i dont start the mysql server... i dont't think, the libmysql.dll is the re
View Tutorial          By: Head at 2009-02-27 00:47:43

30. i get this error too.
: Parent: child process exited with status 3221225477
but i had

View Tutorial          By: Anon at 2009-02-25 08:30:58

31. it is 3 days since I searched resolution. It was however so easy. Thanks a lot. It is thanks to peop
View Tutorial          By: Daniel Costa at 2009-02-25 06:11:27

Most Viewed Articles (in PHP )

Decrypting files using GnuPG (GPG) via PHP

Reading contents of a File into a String in PHP

Warning: session_start(): open .... failed - PHP error

Setting cookies in PHP

Generate random timestamp between two dates

Running different websites on different versions of PHP in Windows 2003 & IIS6 platform

PHP 5.1.4 INSTALLATION on Solaris 9 (Sparc)

Building PHP 5.x with Apache2 on SuSE Professional 9.1/9.2

Installing PHP 5.x with Apache 2.x on HP UX 11i and configuring PHP 5.x with Oracle 9i

Cannot load /usr/local/apache/libexec/ into server:

Setting up PHP in Windows 2003 Server IIS7, and WinXP 64

Function to force strict boolean values in PHP

Function to convert strings to strict booleans in PHP

Function to sort array by elements and count of element in PHP

Malware: global $ob_starting;

Latest Articles (in PHP)

Comment on this tutorial