[linux] How to kill a process [file name] in web-PHP
#1

[linux] How to kill a process [file name] in web-PHP

I've tried using

Код:
<?php
	shell_exec ('killall -9 specific-samp-named-server'); // shell_exec ('killall -9 HuluSrv');
?>
Want to be able to go to www.mySiTe.com/path/here/killme.php,
and its not working, any tips, and helps, thanks-HELP you linux queens and kings!
Reply
#2

This is most likely a problem with your Linux user accounts, usually you'd run that command under a superuser.
Reply
#3

Quote:
Originally Posted by iLinx
Посмотреть сообщение
This is most likely a problem with your Linux user accounts, usually you'd run that command under a superuser.
how i do that lol? the script is running inside a root folder in its var/www thing. what more do i need it to do?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)