Re: shell_exec

From: Date: Wed, 06 Aug 2003 14:15:54 +0000
Subject: Re: shell_exec
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-158466@lists.php.net to get a copy of this message
From: "Rodney Green" <rgreen@trayerproducts.com> > Hello. I've been attempting to write a script that will run a shell script > using the shell_exec function and haven't had any success with getting it to > run in the browser. My web server runs as the user 'apache.' I'm able to run > the script successfully from the command line as root but when I run it in > the browser the shell script executes but fails. Is there a way to trace > what is happening when it is being run from the browser to figure out what > the problem is? Any suggestiosn? I've set the permissions of the script to > be executable for anyone. check for errors at /var/log/httpd/error_log or at /var/log/messages regards, Juan

« previous php.general (#158466) next »