Re: [PHP] The $PATH to enlightenment revisited

2002-05-23 Thread Brad Hubbard
On Wed, 22 May 2002 12:14, Brad Hubbard did align ASCII characters thusly: > What's the best way to alter the path that PHP looks in for exec(), > system(), passthru(), etc. commands. IOW, how do I add /usr/local/ to > the $PATH variable for the user (nobody in my case) that the webserver runs

Re: [PHP] The $PATH to enlightenment

2002-05-21 Thread Brad Hubbard
On Wed, 22 May 2002 12:59, Martin Towell did align ASCII characters thusly: > putenv() and getenv() if it's for just one page Ok, that'll do it for one page, thanks. I was thinking of something for an entire site, any other ideas? This is running on (RH) Linux BTW. Cheers, Brad -- PHP Genera

[PHP] The $PATH to enlightenment

2002-05-21 Thread Brad Hubbard
What's the best way to alter the path that PHP looks in for exec(), system(), passthru(), etc. commands. IOW, how do I add /usr/local/ to the $PATH variable for the user (nobody in my case) that the webserver runs as. This question may be OT. Thanks in advance, Brad -- PHP General Mailin