Php – 503 service unavailable debugging PHP files

503-errorapache-2.2debuggingPHP

I have a web server with apache 2.0 installed. It comes with Zend Server install pack.
When I’m trying to debug my php files apache serves a blank page with 503 service unavailable.
Of course slow server-side code is tying up Apache requests for far too long, but I need it to wait, until my debugging comes to end.
How can I solve this problem.

Best Answer

Is it timing out before displaying the error, or is the 503 error coming up right away? Try adding a set_time_limit() command at the beginning of your script to see if that gives it time to finish. I think the default timeout is only 30 seconds.