Looking in the error.log file of apache server, I found:
[Wed Jun 06 19:53:59.750972 2018] [mpm_winnt:notice] [pid 10108:tid 620] AH00428: Parent: child process 10824 exited with status 3221226356 -- Restarting.
I Googled for "exited with status 3221226356" and I went to the the page at:
Where I found:
"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
1 2 3 | <IfModule mpm_winnt_module> ThreadStackSize 8888888 </IfModule> |
AND restart apache."
I did so, and my local Moodle 3.5 server under Windows 7 seems to be working again