2

I'm using Apache/2.4.27 (Win64) OpenSSL/1.0.2l PHP/7.1.8 on Windows Server 2012 R2 Standard Edition. I am keep getting following error after installing above combination.

[Fri Aug 18 06:38:38.792287 2017] [mpm_winnt:notice] [pid 1344:tid 408] AH00428: Parent: child process 3052 exited with status 3221226356 -- Restarting.......

[Fri Aug 18 06:55:11.944074 2017] [mpm_winnt:notice] [pid 1344:tid 408] AH00428: Parent: child process 984 exited with status 3221226356 -- Restarting......

These logs were not getting generated when i was using php5 but now its annoying while using php7 with apache 2.4.27.

I tried following solutions which i found from other questions/answers here but didn't helped: 1. ThreadStackSize 8888888 2. I copied the following two files from my PHP directory to the C:/windows/System32 directory and still getting errors: php5apache.dll, libmysql.dll.

Please help!

Mukesh Verma
  • 21
  • 1
  • 4
  • Did you ever find a solution? Having the same issue. – Matt Nov 22 '17 at 23:57
  • Same issue here, please let me know if you found something. – Mexicanoon Dec 07 '17 at 19:31
  • 2
    Possible duplicate of [Apache error \[notice\] Parent: child process exited with status 3221225477 -- Restarting](https://stackoverflow.com/questions/1138269/apache-error-notice-parent-child-process-exited-with-status-3221225477-res) – Ivijan Stefan Stipić Dec 12 '17 at 13:05

1 Answers1

1

Here is the answer:

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>

https://stackoverflow.com/a/34452918/2592415

Ivijan Stefan Stipić
  • 6,249
  • 6
  • 45
  • 78