1
0
mirror of https://github.com/danog/parallel.git synced 2025-01-22 14:01:14 +01:00
parallel/Vagrantfile

22 lines
568 B
Ruby
Raw Normal View History

2015-08-02 20:48:29 -05:00
Vagrant.configure(2) do |config|
config.vm.box = "coderstephen/php-dev"
config.vm.provision "shell", inline: <<-SHELL
newphp 56 zts debug
# Install xdebug
sudo pickle install -n xdebug
echo 'zend_extension=xdebug.so' >> `php -i | grep php-cli.ini | awk '{print $5}'`
# Install pthreads from master
git clone https://github.com/krakjoe/pthreads
cd pthreads
git checkout master
phpize
./configure
make
sudo make install
echo 'extension=pthreads.so' >> `php -i | grep php-cli.ini | awk '{print $5}'`
2015-08-02 20:48:29 -05:00
SHELL
end