[Phpwm] Scripts not exiting

francis ihebom fihebom at googlemail.com
Sun Dec 30 17:31:33 GMT 2007


check this link
http://us.php.net/exit


On 30/12/2007, Martin Meredith <martin at sourceguru.net> wrote:
>
> 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
>
>
> _______________________________________________
> Phpwm mailing list
> Phpwm at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/phpwm
>


More information about the Phpwm mailing list