The Problem PHP is not the best choice for long running processes, and never has been. It has two major shortcomings for this kind of application: PHP does not support continuous communication with a browser/client on its own. PHP is designed to run and then close, and while some variables can carry over between runs, …