Apache error [notice] Parent: child process exited with status 3221225477 -- Restarting

This problem often happens in Windows because of smaller Apache’s default stack size. And it usually happens when working with php code that allocates a lot of stacks.

To solve this issue, add the following at the end of apache config file, httpd.conf

<IfModule mpm_winnt_module>
    ThreadStackSize 8888888
</IfModule>

AND restart apache. i take this solution from this site.


I found a solution that worked for me.

I copied the following two files from my PHP directory to the Win32 directory and the errors stopped : php5apache.dll, libmysql.dll.

So even though these files should have been found in the PHP directory under certain circumstances they needed to be in the system dir


In my case it was the php extension APC (php_apc.dll, 3.1.10-5.4-vc9-x86, threadsafe), which caused the error.

I used XAMPP 1.8.2 with PHP 5.4.19 and Apache 2.4.4

Since it could be caused by another extension as well, it might be a good starting point to restore the original php.ini from the xampp distribution. If this one works well, try to change it line by line to your desired configuration (starting with the extension list).

Tags:

Php

Apache