True PHP7 Multi-Threading: How to Rebuild PHP and use pthreads

Building PHP on Mac and Linux with Multi-Threading and pthreads examples