-1

Alright, I use WAMP and I have this massive array. When using PHP 5.6.40, it loads no problem. When using PHP 7.4.0, the page does not load and I get this error: ERR_CONNECTION_RESET. Then I reduce my array to a few lines and it loads then. What's the problem? I am very much sure there is no incorrect syntax in my code. Any ideas? Please share

Apache error log:

[Sat Jul 11 10:07:00.171208 2020] [mpm_winnt:notice] [pid 10472:tid 416] AH00428: Parent: child process 12132 exited with status 3221225725 -- Restarting.

[Sat Jul 11 10:07:00.296215 2020] [mpm_winnt:notice] [pid 10472:tid 416] AH00455: Apache/2.4.41 (Win64) PHP/7.4.0 configured -- resuming normal operations

[Sat Jul 11 10:07:00.296215 2020] [mpm_winnt:notice] [pid 10472:tid 416] AH00456: Apache Lounge VS16 Server built: Aug 9 2019 16:46:32

[Sat Jul 11 10:07:00.296215 2020] [core:notice] [pid 10472:tid 416] AH00094: Command line: 'c:\wamp64\bin\apache\apache2.4.41\bin\httpd.exe -d C:/wamp64/bin/apache/apache2.4.41'

[Sat Jul 11 10:07:00.298216 2020] [mpm_winnt:notice] [pid 10472:tid 416] AH00418: Parent: Created child process 9976

[Sat Jul 11 10:07:01.231269 2020] [mpm_winnt:notice] [pid 9976:tid 332] AH00354: Child: Starting 64 worker threads.

[Sat Jul 11 10:07:01.831303 2020] [mpm_winnt:notice] [pid 10472:tid 416] AH00428: Parent: child process 9976 exited with status 3221225725 -- Restarting.

[Sat Jul 11 10:07:01.971311 2020] [mpm_winnt:notice] [pid 10472:tid 416] AH00455: Apache/2.4.41 (Win64) PHP/7.4.0 configured -- resuming normal operations

[Sat Jul 11 10:07:01.972311 2020] [mpm_winnt:notice] [pid 10472:tid 416] AH00456: Apache Lounge VS16 Server built: Aug 9 2019 16:46:32

[Sat Jul 11 10:07:01.972311 2020] [core:notice] [pid 10472:tid 416] AH00094: Command line: 'c:\wamp64\bin\apache\apache2.4.41\bin\httpd.exe -d C:/wamp64/bin/apache/apache2.4.41'

[Sat Jul 11 10:07:01.974311 2020] [mpm_winnt:notice] [pid 10472:tid 416] AH00418: Parent: Created child process 10388

[Sat Jul 11 10:07:02.813359 2020] [mpm_winnt:notice] [pid 10388:tid 332] AH00354: Child: Starting 64 worker threads.

user3600124
  • 829
  • 1
  • 7
  • 19

1 Answers1

1

If you are confident that you have allocated enough memory, you can also try increasing the stack size in the Apache config. For example like so:

<IfModule mpm_winnt_module>
   ThreadStackSize 6553600
</IfModule>
Niels Ganser
  • 2,320
  • 1
  • 16
  • 13