1
0
mirror of https://github.com/danog/process.git synced 2024-12-02 09:37:55 +01:00
process/travis/install-async.sh

15 lines
332 B
Bash
Raw Normal View History

2018-07-24 20:56:50 +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();')"