How to run php script via putty or command line

If you need to run a php script in Linux environment via putty or other clients and want to close client without terminating the running process of php script you may need to do as bellow. The keyword is nohup

nohup php policyserver.php > /dev/null 2>&1 &

One Comment

  1. [...] here to see the original:  Howtos » Blog Archive » How to run php script via putty or command … By admin | category: blog script | tags: design, linux, marketing, other-clients, [...]