i have a (process) php code which run background which listening to incoming.
and i wanna have another (admin) php code for admin use which i can start and stop the 1st (process) php code.
starting the (process) php code is easy with exec(/usr/php5/bin/php my_process_code.php);
but how can i stop/kill the (process) php code?