RE: [PHP] Having trouble with PHP exec function calling CGI program

2001-08-13 Thread scott [gts]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 it could be that the webserver chroot()'s to some "secure" path, and thus your script cannot find `date`. perhaps all you have to do is to copy the binaries that you need into the "safe" directory (if you can first find out where the server is chro

Re: [PHP] Having trouble with PHP exec function calling CGI program

2001-08-13 Thread Lara J. Fabans
Hi, Tony, I'm a "middlebie", and I have the same problem. From the archives, I found the following suggestions from Richard Lynch: Does it work perfectly from the command line if you su to "nobody" (or whomever PHP runs as) before you execute it? Is it world executable? Does it access resources