Date: Mon, 10 Feb 2003 16:59:58 -0500 From: Christopher Weimann <cweimann@k12hq.com> To: Manuel Kasper <mk@neon1.net> Cc: freebsd-questions@freebsd.org Subject: Re: exec'ing ppp from within PHP Message-ID: <20030210165958.A55795@mail.k12us.com> In-Reply-To: <BA6DD536.1DC0%mk@neon1.net>; from mk@neon1.net on Mon, Feb 10, 2003 at 10:16:22PM %2B0100 References: <BA6DD536.1DC0%mk@neon1.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon 02/10/2003-10:16:22PM +0100, Manuel Kasper wrote: > > I simply can't imagine what difference it makes whether ppp has been > executed from PHP or from a shell script once it is running. And yes, I'm > using > /dev/null 2>&1 in the exec() in PHP to make sure PHP won't wait for > ppp - in fact PHP exits correctly after the exec, leaving ppp to run in the > background. > I have had similar problems with php. You need to use /usr/sbin/daemon or /usr/ports/sysutils/detach if your FreeBSD doesn't have deamon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030210165958.A55795>