1
0
mirror of https://github.com/danog/parallel.git synced 2024-11-26 20:34:40 +01:00
parallel/travis/install-async.sh

15 lines
332 B
Bash
Raw Normal View History

2018-07-25 22:46:40 +02:00
#!/usr/bin/env bash
wget https://github.com/concurrent-php/ext-async/archive/master.tar.gz -O /tmp/php-async.tar.gz -q
mkdir php-async && tar -xf /tmp/php-async.tar.gz -C php-async --strip-components=1
pushd php-async
phpize
./configure
make
make install
popd
echo "extension=async" >> "$(php -r 'echo php_ini_loaded_file();')"