Re: killing a process through php webservice
| From: | Paul Scott | Date: | Fri, 08 Feb 2008 05:04:50 +0000 |
| Subject: | Re: killing a process through php webservice | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268925@lists.php.net to get a copy of this message | ||
On Fri, 2008-02-08 at 09:56 +0500, Fahad javed wrote:
> I still think the problem is access rights. question is how to solve it.
>
> Any help will be greatly appreciated.
>
Yes it is access rights. You will probably have to add PHP to the root
or wheel group as a user or something insane like that.
I know that the guys that coded the Freedom Toaster also had the same
issues with writing CD's, so do some research there as well (although I
don't think it was in PHP) and that should give you some ideas.
NOTE and Dsiclaimer: This is insane. I cannot think of a single case
where this is useful or sane. PHP is not meant to kill processes or do
root tasks at all, ever. Please don't actually do this.
--Paul