PHP time out

I have a rather long program that runs. Oddly if I run it from the production server (using the regular domain name, not localhost), it runs without time out. If I run from any other PC, it does a time out and stops. I have everything set for as long an execution as possible. Would dividing up the stored proc running (mysql) into calling different procedures reset this or is it purely browser/server interaction that keeps it alive? Any way to lie to it that I’ve pressed something?