Hello,

This is a reply to an e-mail that you wrote on Mon, 4 Aug 2003 at
23:14, lines prefixed by '>' were originally written by you.
> Hello. I'm attempting to run the exec function to run a shell
script
> that
> will restart a service on my Red Hat server. The script says it
has
> failed
> shutting down and restarting the service everytime I run it from a
> browser.
> Any suggestions on why it might be failing? I can send more
details if
> needed.

I expect it is because the shell script is running with the
permissions as of webserver and your webserver does not have
permission to restart the service.

HTH

David.


--
phpmachine :: The quick and easy to use service providing you with
professionally developed PHP scripts :: http://www.phpmachine.com/
Free PHP error handling script: www.phpmachine.com/error-handler

Professional Web Development by David Nicholson -
www.djnicholson.com

    QuizSender.com - How well do your friends actually know you?
                     http://www.quizsender.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to