Analysis on the restart of Apache process Parent:child process exited with status 3221225477--restarting
Phenomenon: Every 1 time (several 10 minutes), the Apache process will automatically restart and leave this record in its error log: Parent:child process exited with status 3221225477-restarting
Analysis:
Error code 3221225477 to 16 is C0000005, which is a general protection error issued by the Windows core. So, as long as Apache itself or the use of the DLL (if you run PHP inline, but also including PHP and its use of the 3rd party DLL or so) crashes, will produce this win error.
Possible causes:
1, did not copy the LibmySQL.dll to the Windows/system32 directory. In fact, the answer is not so simple, it is likely that in the PATH environment variables corresponding to the search path already has a priority call and incompatible with the current Apache version of the LibmySQL.dll or other DLLs.
2, MySQL5.1.40 installation package When the LibmySQL.dll does not support Apache5.2.14 + PHP5.2.11. The solution is to use the LibmySQL.dll in the PHP5.2.11.
3, Xdebuger DLL version 2.0.5 has a problem, it may be that it is incompatible with the current Apache or PHP, the solution is to use its old version of the 2.0.0.
4, when using the GD function library to scale the image, if you use Imagecreatefromjpeg () to non-JPG files [such as actually GIF, but is artificially renamed JPG] will cause this error.