Web Development Blog

24K Design Studio :: Blog :: PHP: Apache Stopped Working?
PHP: Apache Stopped Working?
08:13, 09 Nov, 2010
by David

In Windows, while testing PHP program, have you ever seen "Apache Stopped Working"?

This is the first time when me saw it. I've been familiar with "notice", "warning", and "fatal error" given by PHP. "Fatal error". Is it serious enough? But comparing to "Apache Stopped Working"...

By debugging line by line, the problem was found. It is just a simple infinitely self called function, like:

function showTextArray($param) {
And the correct one is
function showTextArray($param) {


Stack overflow (unstopped recursive function) will cause "Apache Stopped Working".

Tags: PHP
Your name:
Only visible to the author.

Tell us you are not a robot. What is captcha1captchaOcaptcha2

View the latest 5 entries.