PHP multi threads – Setup PHP 7.2cli with Multiple Threads (pthreads) on Ubuntu

In this article I’m going to write steps required to setup PHP multi threads on your server. Why PHP multi threads – CLI Version: Running app on PHP 5.6 for web app but need PHP7.2 (pthreads) with multiple threads to run tasks at background so we can run multiple independent business logics without interfering with