so im running
PHP Version 5.3.6
Apache/2.2.19 (Win32) PHP/5.3.6
moodle 2.3.1
on windows
apache error log reads
[Tue Sep 11 14:46:38 2012] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Tue Sep 11 14:46:39 2012] [notice] Apache/2.2.19 (Win32) PHP/5.3.6 configured -- resuming normal operations
[Tue Sep 11 14:46:39 2012] [notice] Server built: May 21 2011 17:38:08
[Tue Sep 11 14:46:39 2012] [notice] Parent: Created child process 4268
[Tue Sep 11 14:46:39 2012] [debug] mpm_winnt.c(477): Parent: Sent the scoreboard to the child
[Tue Sep 11 14:46:40 2012] [notice] Child 4268: Child process is running
[Tue Sep 11 14:46:40 2012] [debug] mpm_winnt.c(398): Child 4268: Retrieved our scoreboard from the parent.
[Tue Sep 11 14:46:40 2012] [info] Parent: Duplicating socket 384 and sending it to child process 4268
i have spent 2 day trawling the internet trying to find a solution to this as this is happening as much as 3 times a minute im loosing my patience with the whole thing pleasse someone save me from madnes
A Google search turned up - http://www.java-samples.com/showtutorial.php?tutorialid=1050
hi i spotted this however my version of php does not include the suggested file
I'm a bit hazy with Windows but I think your .dll files (the ones you have, hopefully, uncommented in php.ini) should be on the Windows PATH or they need to full path specified in php.ini.
Read this and make sure.... http://php.net/manual/en/install.windows.extensions.php
maybe i should make it clear that appache starts and runs fine until people start accessing moodle then the more people accesising moodle the more regualar the restart.
exstensions ar ein the estensions folder and appear tobe running fine
These errors have nothing to do with mis-placed DLLs.
These errors happen on Windows servers running PHP as an Apache module. The servers are configured correctly, but you will see these random crashes when server load increases.
We had this problem two summers ago when we were upgrading from Moodle 1.9.x to 2.0. After the upgrade we would see these crashes when around 25 or so people were logged-in to our Moodle website.
We never could track down the problem at the time (and I tried countless of these "make sure the paths are correct" fixes), but in order to fix it we switched from using the thread safe PHP as an Apache module to using the NTS PHP via mod_fcgid. We are running Moodle 2.3.2 now with no problems.
Since then, I've been researching the problem more and I'm wondering if it might be related to the Apache stack size being 1 MB in Windows vs. 8 MB in Linux.
You can try to set your Apache thread stack size to 8 MB by putting:
ThreadStackSize 8388608
in your httpd.conf file and restarting Apache. If you get an error that it couldn't allocate enough threads, you'll need to lower your ThreadsPerChild value.
hey i tried the ThreadStackSize fix but to no availe still crashing so i think im going to move over to the none threadsafe php and mod_fcgid was this an easy setup?