Re: freebsd and exec problem
| From: | Richard Lynch | Date: | Mon, 25 Jun 2001 07:12:22 +0000 |
| Subject: | Re: freebsd and exec problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55110@lists.php.net to get a copy of this message | ||
Is PHP timing out after 30 seconds?...
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: "Gary Starks" <tanlain@msn.com>
Newsgroups: php.general
Sent: Sunday, June 24, 2001 2:22 AM
Subject: [PHP] freebsd and exec problem
> I am having a strange problem that I have yet to solve.
>
>
> I am running apache 1.3.14 and php 4.0.5 on FreeBSD 4.3
>
> My problem is that when I am trying to execute a program via php the
program
> dies after a short amount of time.
>
> I have tried execing in the background, calling another program that execs
> it into the background (both instances using:
> exec("nohup /my/program &");
>
> This same syntax worked on a Linux Mandrake 8.0 machine with the same
> webserver and php setup. It just isnt working on a FreeBSD 4.3 machine.
>
> The program starts to exec but when I close the calling webpage it
> terminates, or if i leave that page open it terminates after a short
period
> of time.
>
> But if I run the same command from the command line, it works perfectly.
>
> Any ideas on what I can check or what I need to change to get this to work
> correctly?
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.comAu!äÎ
> ÉÛó¯æ–Ìµ
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>