install-ev.sh 197 B

123456789101112
  1. #!/usr/bin/env bash
  2. set -e
  3. curl -LS https://pecl.php.net/get/ev | tar -xz
  4. pushd ev-*
  5. phpize
  6. ./configure
  7. make
  8. make install
  9. popd
  10. echo "extension=ev.so" >> "$(php -r 'echo php_ini_loaded_file();')"