I have a process running on my Ubuntu 16.04 server with an ID, roughly 21505.

When running a php script

system('kill 21505'); 

It does not produce any errors, but the process continues to exist. What do I need to do to make the team work?

  • one
    At a minimum, make sure that this process has enough rights to complete another. - de_frag
  • How to give him these rights? - DcoartB
  • The easiest option is to run a script from under the root. - de_frag
  • I hope you have the script is not available from the Web? And then you can catch a lot of popoboli giving him root rights and allowing the execution of the system - Ninazu

0