Installing PHP Pthreads on Debian 8 Jessie with Apache 2.4 What we're going to be doing Replacing the installed PHP with a custom compiled version with ZTS enabled (Pthreads requires it). Adding the Pthreads extension through PECL. Method