mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
395ef4efb7
* PHP-5.5: fixup, both catched by nikic use another character device in this test as /dev/console seems that it is different for lxc containers the de_DE(iso-8859-1) locale is not available on ubuntu by default, but there is no reason to require that over the utf-8 one let's try running our testsuite without sudo
64 lines
1.1 KiB
Bash
Executable File
64 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
if [[ "$ENABLE_MAINTAINER_ZTS" == 1 ]]; then
|
|
TS="--enable-maintainer-zts";
|
|
else
|
|
TS="";
|
|
fi
|
|
if [[ "$ENABLE_DEBUG" == 1 ]]; then
|
|
DEBUG="--enable-debug";
|
|
else
|
|
DEBUG="";
|
|
fi
|
|
./buildconf --force
|
|
./configure \
|
|
--prefix=$HOME"/php-install" \
|
|
--quiet \
|
|
$DEBUG \
|
|
$TS \
|
|
--enable-fpm \
|
|
--with-pdo-mysql=mysqlnd \
|
|
--with-mysql=mysqlnd \
|
|
--with-mysqli=mysqlnd \
|
|
--with-pgsql \
|
|
--with-pdo-pgsql \
|
|
--with-pdo-sqlite \
|
|
--enable-intl \
|
|
--with-pear \
|
|
--with-gd \
|
|
--with-jpeg-dir=/usr \
|
|
--with-png-dir=/usr \
|
|
--enable-exif \
|
|
--enable-zip \
|
|
--with-zlib \
|
|
--with-zlib-dir=/usr \
|
|
--with-mcrypt=/usr \
|
|
--enable-soap \
|
|
--enable-xmlreader \
|
|
--with-xsl \
|
|
--with-curl=/usr \
|
|
--with-tidy \
|
|
--with-xmlrpc \
|
|
--enable-sysvsem \
|
|
--enable-sysvshm \
|
|
--enable-shmop \
|
|
--enable-pcntl \
|
|
--with-readline \
|
|
--enable-mbstring \
|
|
--with-curl \
|
|
--with-gettext \
|
|
--enable-sockets \
|
|
--with-bz2 \
|
|
--with-openssl \
|
|
--with-gmp \
|
|
--enable-bcmath \
|
|
--enable-phpdbg \
|
|
--enable-calendar \
|
|
--enable-ftp \
|
|
--with-pspell=/usr \
|
|
--with-recode=/usr \
|
|
--with-enchant=/usr \
|
|
--enable-wddx \
|
|
--enable-sysvmsg
|
|
make -j2 --quiet
|
|
make install
|