Setting up PHP 7.0 With multithreading (pthreads) on Ubuntu 16.04

Setting up PHP 7.0 With multithreading (pthreads) on Ubuntu 16.04
This is a runthrough of my online tutorial for setting up PHP 7.0 on Ubuntu 16.04 with multithreading capabilities (CLI only).

Tutorial Link: http://blog.programster.org/install-php-7-0-with-pthreads-on-ubuntu-16.04

Music was "Going Higher" and is Royalty free from here: https://www.bensound.com/royalty-free-music/track/going-higher

RRelated Posts

Mutex Synchronization in Linux with Pthreads

Demo of using threads in Linux (pthreads) to run very simple processing in parallel. Uses a mutex (pthread_mutex) to synchronize the processing to avoid a race condition. Support videos via Patreon:

PHP Pthread with wamp/xampp

This tutorial will help you configure your wamp/xampp server with PHP Pthread library. The video ends with an example that prints thread


  • Anthony Datu
    I'm still trying to understand what pthreads do and what benefit it has, is it performance gain?
  • M Z
    Interesting ... ty