mirror of
https://github.com/danog/amp.git
synced 2024-12-11 00:49:48 +01:00
11 lines
310 B
Bash
Executable File
11 lines
310 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
curl -LS https://pecl.php.net/get/event-2.3.0 | tar -xz \
|
|
&& pushd event-* \
|
|
&& phpize \
|
|
&& ./configure --with-event-core --with-event-extra --with-event-pthreads \
|
|
&& make -j4 \
|
|
&& make install \
|
|
&& popd \
|
|
&& echo "extension=event.so" >> "$(php -r 'echo php_ini_loaded_file();')";
|