Re: [PHP] long running PHP application

2003-02-20 Thread Adam Voigt




PHP's max execution time has always over-ridden whatever Apache

wants for keep-alive time (in my experience anyway).



On Wed, 2003-02-19 at 22:50, Lord Loh. wrote:

Is there any conflict with the server Keep-Alice time ?

That is usually not more than a minute...



Thank You

Lord Loh







-- 

PHP General Mailing List (http://www.php.net/)

To unsubscribe, visit: http://www.php.net/unsub.php






-- 
Adam Voigt ([EMAIL PROTECTED])
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc








signature.asc
Description: This is a digitally signed message part


Re: [PHP] long running PHP application

2003-02-19 Thread Lord Loh.
Is there any conflict with the server Keep-Alice time ?
That is usually not more than a minute...

Thank You
Lord Loh



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] long running PHP application

2003-02-17 Thread Lord Loh.
There is a execution time out(30 sec. by default)

How do you avert it!



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] long running PHP application

2003-02-17 Thread Ernest E Vogelsinger
At 13:06 17.02.2003, Lord Loh. spoke out and said:
[snip]
There is a execution time out(30 sec. by default)

How do you avert it!
[snip] 

ini_set('max_execution_time', 1800);   // set to 30 minutes...


-- 
   O Ernest E. Vogelsinger 
   (\) ICQ #13394035 
^ http://www.vogelsinger.at/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] long running PHP application

2003-02-16 Thread Ilja Polvanovas
Does anybody have minds about problems running long running PHP scripts as
standalone programs (ex. like servers, daemons). For example there is a
simple TCP/IP server in Sockets chapter of the Manual. Have anybody any
ideas how long can the script run ? is there any garbage collector in PHP,
if it is, is it enough solution? Can the script run for unlimited time ? is
there any restrictions ? Is it stable enough ?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] long running PHP application

2003-02-16 Thread Robert Cummings
I run a fantasy MUD and I have a PHP based daemon which checks for in game
player mail and if found and the player has registered an email address, then
it sends the MUD mail out to the player's email address. The program wakes up
once a minute to check the database and then goes back to sleep. It's been
running for months without a problem.

Cheers,
Rob.

Ilja Polvanovas wrote:
 
 Does anybody have minds about problems running long running PHP scripts as
 standalone programs (ex. like servers, daemons). For example there is a
 simple TCP/IP server in Sockets chapter of the Manual. Have anybody any
 ideas how long can the script run ? is there any garbage collector in PHP,
 if it is, is it enough solution? Can the script run for unlimited time ? is
 there any restrictions ? Is it stable enough ?
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php

-- 
.-.
| Worlds of Carnage - http://www.wocmud.org   |
:-:
| Come visit a world of myth and legend where |
| fantastical creatures come to life and the  |
| stuff of nightmares grasp for your soul.|
`-'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php