southbeach
Programmer
History:
Using SCO UNIX 5.0.7, PHP 4.4 and appache 1.3.36
My PHP script is not able to execute shell scripts through system() commands ... All works well off the command prompt or CLI.
Questions:
1) How do I know what user is PHP/Apache attempting to run as when I use the system() command? (NOTE: I tried using chmod u+s on the script but it still does not work).
2) How can I change this (the user)?
Thanks!
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
Using SCO UNIX 5.0.7, PHP 4.4 and appache 1.3.36
My PHP script is not able to execute shell scripts through system() commands ... All works well off the command prompt or CLI.
Questions:
1) How do I know what user is PHP/Apache attempting to run as when I use the system() command? (NOTE: I tried using chmod u+s on the script but it still does not work).
2) How can I change this (the user)?
Thanks!
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.