I\'m using PHP5, CodeIgniter and Apache. The localhost php pages were loading fine and then suddenly they started crashing Apache.
The web pages seem to get to diff
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
ThreadStackSize 8888888
AND restart apache. i take this solution from this site.