Why [?php while (true) { sleep(5); } ?] dies on CLI?

From: Date: Thu, 11 Jun 2009 10:47:08 +0000
Subject: Why [?php while (true) { sleep(5); } ?] dies on CLI?
Groups: php.general 
Request: Send a blank email to php-general+get-293922@lists.php.net to get a copy of this message
Hi! I'm stuck. I don't understand why the php CLI dies after 3 hours in my script. Any idea to solve? Thanks PHP 5.2.9-0.dotdeb.2 with Suhosin-Patch 0.9.7 (cli) (built: Apr 7 2009 20:06:36) Linux ubuntu 2.6.24-19-server #1 SMP Wed Jun 18 14:44:47 UTC 2008 x86_64 GNU/Linux Conf [php.ini] max_execution_time=0 <?php while (true) { sleep(5); } ?>

« previous php.general (#293922) next »