|
Posted by Gilles Ganault on 01/07/08 08:14
On Sun, 6 Jan 2008 23:33:37 -0800 (PST), Paul Fisch <fischp@gmail.com>
wrote:
>> it really depends on your setup...whether or not php is being run as a
>> module or as a cgi, what webserver you're using - it's the webserver
>> software that can control this.
>
>Do you know where I could go or what terms I should search to find out
>more about this.
I'm also interested in how to handle long-running PHP processes.
Not sure if this is true, but here goes anyway:
- the server and/or the browser usually time out after 30 seconds
(HTTP protocol?), so the PHP script must regularly send some data to
keep the pipes open
- if the browser is closed, the PHP process will still run unless you
put some code that checks for this, and aborts if the connection was
closed
- generally speaking, LAMP is not a good choice for long-running
tasks. You might want to use other tools for this
Navigation:
[Reply to this message]
|