1
0
mirror of https://github.com/danog/postgres.git synced 2024-11-26 12:04:50 +01:00
postgres/travis/install-pq.sh

12 lines
207 B
Bash
Executable File

#!/usr/bin/env bash
git clone https://github.com/m6w6/ext-pq;
pushd ext-pq;
phpize;
./configure;
make;
make install;
popd;
echo "extension=pq.so" >> "$(php -r 'echo php_ini_loaded_file();')";
rm -rf ext-pq