freebsd and exec problem

From: Date: Sun, 24 Jun 2001 07:24:47 +0000
Subject: freebsd and exec problem
Groups: php.general 
Request: Send a blank email to php-general+get-55015@lists.php.net to get a copy of this message
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

« previous php.general (#55015) next »