always check permissions....
make sure the web server can read/execute what it needs to.
also, have you tried running the program from a
shell and seeing if it generated any errors?
> -----Original Message-----
> From: Richard Lynch [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 25, 2001 3:12 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] freebsd and exec problem
>
>
> Is PHP timing out after 30 seconds?...
>
> --
> WARNING [EMAIL PROTECTED] address is an endangered species -- Use
> [EMAIL PROTECTED]
> 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" <[EMAIL PROTECTED]>
> 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.com
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]