Multi-tasking in PHP

A presentation at AtlantaPHP in in Atlanta, GA, USA by Jonathon Hill

When it comes to multi-tasking and interacting with the operating system, PHP is no lightweight. In this December 6, 2012 presentation Jonathon Hill (@compwright) explores PHP’s little-known POSIX, Process Control, and Semaphore extensions and shows you how to introduce a parallel dimension to your applications.



The following code examples from the presentation can be tried out live.


The following resources were mentioned during the presentation or are useful additional information.

  • PHM: PHP Multiprocessor

    A collection of classes for leveraging PHP’s multi-processing and process control capabilities.