I need keep running the PHP script but I have a problem, currently I use putty to login to the server then execute PHP code. When I close putty session the script stops the execution.
Steps:
- login to server with putty
- running PHP script eg) PHP filename
but when I close the putty session the program will obvious close. I need to keep running the program on server regardless of closing putty and anyone logging into server can stop it and run it again as a process. How to run a php script independent of putty session, which can be controlled by anyone logging to server?