For my university dissertation next year I am going to need to create a high performance application in PHP and the only way to perform this is by multi threading and multi processing the workload.
As the documentation on the area is not amazing for telling you how to install it I thought I would post how I managed it. (You may need to update the links)
apt-get upgrade -yq
apt-get -yq install bzip2 openssl libxml2 libxml2-dev gcc make autoconf htop sudo git dstat
tar xvjf php-5*.tar.bz2
git clone git://github.com/krakjoe/pthreads.git
./configure –enable-maintainer-zts –enable-sockets –enable-pcntl –enable-pthreads –with-tsrm-pthreads
Or If you want a one liner
You can all more options to the configuring of php depending what you need.