Shell command in php script
| From: | Vincent FONTENEAU | Date: | Tue, 28 Sep 2004 07:27:36 +0000 |
| Subject: | Shell command in php script | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-198044@lists.php.net to get a copy of this message | ||
Hi,
I'm trying to find how to execute a shell command in a php script, I
meen I would like for example to stop services like ssh or others in
/etc/init.d with command stop and start it again.
I've tried some commands without success, and I've missed something like
script owner or group. I really don't know. Perhaps it sould be in php
conf ?
Is someone have any idea ?
Thanks
Vincent