You are here: Re: does php require a client is present to execute? « PHP Programming Language « IT news, forums, messages
Re: does php require a client is present to execute?

Posted by Paul Fisch on 01/07/08 08:19

On Jan 7, 2:14 am, Gilles Ganault <nos...@nospam.com> wrote:
> On Sun, 6 Jan 2008 23:33:37 -0800 (PST), Paul Fisch <fis...@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

Using the command set_time_limit(some #) can extend the timeout limit
to whatever you want.
Why isn't LAMP a good choice for long-running tasks?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация