i'm curious what happens when a script runs for too long. like a infinite loop or just waiting for data too long.
1.)when does the server kill the script if the user keeps on waiting for the output? i.e. the user doesn't press the STOP button or BACK button on his/her browser.
2.)what happens when let's say the user press's the STOP button on his/her browser? does apache immedietely kill the script? or is it the same as 1.)
3.)if the program is executing another program and is killed is the program executed killed too?
4.)the differences in the above 1~3 questions if any when running php as a CGI or as an apache module
thanks