1
0
mirror of https://github.com/danog/ext-pq.git synced 2024-12-03 09:48:02 +01:00
ext-pq/travis/compile-php.sh

15 lines
373 B
Bash
Raw Normal View History

2014-12-14 15:37:43 +01:00
#!/bin/sh -x
set -e
TARGET_PHP_REF="PHP-5.6"
mkdir -p $HOME/php
mkdir -p $HOME/php.d
git clone --depth=1 --branch=$TARGET_PHP_REF https://github.com/php/php-src $HOME/php/src
cd $HOME/php/src
./buildconf --force
./configure --prefix=$HOME --with-config-file-scan-dir=$HOME/php.d --disable-all --enable-maintainer-zts --enable-json --with-mhash
make -j2 --quiet install