Vagrant machine for php5.6 recompiled with pthreads.
##Source
The original source is this bash script
This has been slightly modified to work with this version of ubuntu (older). Also the clone are depth 1 (faster).
This article have a lot of information about the pitfall of compiling php.
##To run
$ vagrant up --provider=virtualbox
##Test results
vagrant@pthreads01:~$ /opt/php-zts/bin/php --version
PHP 5.6.10-dev (cli) (built: May 22 2015 10:46:02)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
##Notes
Memory 1024MB is not enough.
==> pthreads01: virtual memory exhausted: Cannot allocate memory
So I put 2048.