Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a PHP application installed (TNG) that only answers one request at a time, and if the PHP takes a long time it never times out.

How do I need to confgure Apache/PHP so that several servers/threads can respond to requests at once, and that if the script had been running for an hour or so, it times out?

share|improve this question
And what is TNG? –  Michael Hampton Jan 7 '13 at 15:00
@MichaelHampton: It's a PHP app. lythgoes.net/genealogy/software.php Since it's executed by Apache, that should reasonably not be relevant? –  Lennart Regebro Jan 7 '13 at 16:00
It's hugely relevant, because the default behaviour for Apache+PHP already is to respond to multiple requests at once. –  ceejayoz Jan 7 '13 at 16:04
@ceejayoz: So you are saying that the application is doing something to prevent this? –  Lennart Regebro Jan 7 '13 at 16:32
Unless you've been mucking around with Apache's settings to drop it down to MaxClients 1 or something, yes. My suspicion would be that it locks database tables to do calculations or something. –  ceejayoz Jan 7 '13 at 16:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.