Re: Re: shell script not working with shell_exec
| From: | Curt Zirzow | Date: | Thu, 14 Aug 2003 14:34:22 +0000 |
| Subject: | Re: Re: shell script not working with shell_exec | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159581@lists.php.net to get a copy of this message | ||
* Thus wrote Scott Fletcher (scott@abcoa.com):
> What you will need to do is to login using the Apache account from the
> terminal login and execute the command line code. If it doesn't work then
> you know the problem had nothing to do with Apache and PHP.
The apache account shouldn't have a username and password, for
security reasons, so an su to the apache account would be a way to
login as the user:
# su <apacheaccount>
Curt
--
"I used to think I was indecisive, but now I'm not so sure."