[Phpwm] Scripts not exiting

Martin Meredith martin at sourceguru.net
Sun Dec 30 16:43:15 GMT 2007


does the following code exit?

<?php

exit(0);

?>

?
On Wed, 2007-12-05 at 11:51 +0000, Darren Beale wrote:
> Hi,
> 
> I built a new dev server recently and have an odd issue with php CLI
> scripts, they don’t exit.
> 
> Whether I run by explicitly calling php first (e.g. php script.php) or
> adding a php shebang, making executable and running ./thus the scripts don't
> exit, I have to Ctrl-c out.
> 
> Any ideas why? They just sit there in the process list not eating resources
> (as far as I can tell) and I have also tried explicitly adding an exit; call
> as the last line of code. 
> 
> I'm running php 5.2.5 on Debian Etch and this is not limited to a particular
> script, it happens to them all.
> 
> Cheers
> 
> --
> Darren Beale
> 
> Siftware
> 1 North Works
> London Lane
> Upton-upon-Severn
> WR8 0HH
> 
> t: 01684 59 49 59
> m: 07711 716 197
> 
> w: http://siftware.co.uk 
> b: http://bealers.com
> 
> 
> 
> 
> 
> 
> 
> No virus found in this outgoing message.
> Checked by AVG Free Edition. 
> Version: 7.5.503 / Virus Database: 269.16.14/1171 - Release Date: 04/12/2007
> 19:31
>  
> 
> 
> _______________________________________________
> Phpwm mailing list
> Phpwm at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/phpwm




More information about the Phpwm mailing list