Re: [PHP] Daemon starting

2002-04-22 Thread Danny Shepherd
Not played with them myself but you might want to take a look at the system() and shell_exec() functions. HTH Danny. - Original Message - From: "Gilles Nedostoupof" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 22, 2002 12:28 PM Subject: [PHP]

[PHP] Daemon starting

2002-04-22 Thread Gilles Nedostoupof
Hi all, I'm looking for a simple method to start a linux daemon from a php script... I've already tried to use sudo by giving rights to apache user to execute some scripts from /etc/rc.d/init.d ; I do a exec ("sudo /etc/rc.d/init.d/daemon start"); Sometimes the daemon startup, sometimes no... I