Skip to content

Commit 4f9c7f9

Browse files
committed
Debugging changes
1 parent a49a3e0 commit 4f9c7f9

File tree

1 file changed

+4
-78
lines changed

1 file changed

+4
-78
lines changed

travis/compile.sh

Lines changed: 4 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,84 +1,10 @@
11
#!/bin/bash
2-
if [[ "$ENABLE_ZTS" == 1 ]]; then
3-
TS="--enable-zts";
4-
else
5-
TS="";
6-
fi
7-
if [[ "$ENABLE_DEBUG" == 1 ]]; then
8-
DEBUG="--enable-debug";
9-
else
10-
DEBUG="";
11-
fi
12-
13-
if [[ -z "$CONFIG_LOG_FILE" ]]; then
14-
CONFIG_QUIET="--quiet"
15-
CONFIG_LOG_FILE="/dev/stdout"
16-
else
17-
CONFIG_QUIET=""
18-
fi
19-
if [[ -z "$MAKE_LOG_FILE" ]]; then
20-
MAKE_QUIET="--quiet"
21-
MAKE_LOG_FILE="/dev/stdout"
22-
else
23-
MAKE_QUIET=""
24-
fi
25-
26-
MAKE_JOBS=${MAKE_JOBS:-$(nproc)}
27-
282
./buildconf --force
293
./configure \
30-
--enable-option-checking=fatal \
31-
--prefix="$HOME"/php-install \
32-
$CONFIG_QUIET \
33-
$DEBUG \
34-
$TS \
35-
--enable-phpdbg \
36-
--enable-fpm \
37-
--with-pdo-mysql=mysqlnd \
38-
--with-mysqli=mysqlnd \
39-
--with-pgsql \
40-
--with-pdo-pgsql \
41-
--with-pdo-sqlite \
42-
--enable-intl \
43-
--without-pear \
44-
--enable-gd \
45-
--with-jpeg \
46-
--with-webp \
47-
--with-freetype \
48-
--with-xpm \
49-
--enable-exif \
50-
--with-zip \
51-
--with-zlib \
52-
--with-zlib-dir=/usr \
53-
--enable-soap \
54-
--enable-xmlreader \
55-
--with-xsl \
56-
--with-tidy \
57-
--with-xmlrpc \
58-
--enable-sysvsem \
59-
--enable-sysvshm \
60-
--enable-shmop \
61-
--enable-pcntl \
62-
--with-readline \
63-
--enable-mbstring \
64-
--with-curl \
65-
--with-gettext \
66-
--enable-sockets \
67-
--with-bz2 \
68-
--with-openssl \
69-
--with-gmp \
70-
--enable-bcmath \
71-
--enable-calendar \
72-
--enable-ftp \
73-
--with-pspell=/usr \
74-
--with-enchant=/usr \
75-
--with-kerberos \
76-
--enable-sysvmsg \
77-
--with-ffi \
78-
--enable-zend-test=shared \
79-
--enable-werror \
80-
--with-pear \
81-
> "$CONFIG_LOG_FILE"
4+
--prefix="$HOME"/php-8.0.0-minsize-install \
5+
--enable-debug \
6+
--enable-zts \
7+
--disable-all
828

839
make "-j${MAKE_JOBS}" $MAKE_QUIET > "$MAKE_LOG_FILE"
8410
make install >> "$MAKE_LOG_FILE"

0 commit comments

Comments
 (0)