1
0
mirror of https://github.com/danog/amp.git synced 2024-12-12 01:19:46 +01:00
amp/travis/install-event.sh
2017-04-24 15:27:04 +02:00

10 lines
264 B
Bash
Executable File

#!/usr/bin/env bash
curl -LS https://pecl.php.net/get/event | tar -xz;
pushd event-*;
phpize;
./configure --with-event-core --with-event-extra --with-event-pthreads;
make;
make install;
popd;
echo "extension=event.so" >> "$(php -r 'echo php_ini_loaded_file();')";