Skip to content

Commit 355ee49

Browse files
committed
Added configuration for php build
1 parent d7c94de commit 355ee49

2 files changed

Lines changed: 50 additions & 1 deletion

File tree

base/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ RUN git clone https://github.com/CHH/phpenv.git /tmp/phpenv && \
3535
echo 'eval "$(phpenv init -)"' >> /root/.bashrc
3636

3737
RUN git clone git://github.com/CHH/php-build.git /root/.phpenv/plugins/php-build
38-
# COPY files/configure /root/.phpenv/plugins/php-build/share/php-build/default_configure_options
38+
COPY files/configure /root/.phpenv/plugins/php-build/share/php-build/default_configure_options
3939

4040
RUN ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib/libfreetype.so && \
4141
ln -s /usr/lib/x86_64-linux-gnu/libgmp.so /usr/lib/libgmp.so && \

base/files/configure

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
--enable-intl
2+
--enable-exif
3+
--enable-zip
4+
--enable-soap
5+
--enable-xmlreader
6+
--enable-ftp
7+
--enable-sysvsem
8+
--enable-sysvshm
9+
--enable-sysvmsg
10+
--enable-shmop
11+
--enable-pcntl
12+
--enable-mbstring
13+
--enable-fpm
14+
--enable-bcmath
15+
--enable-calendar
16+
--enable-sockets
17+
18+
--with-mysql=mysqlnd
19+
--with-mysqli=mysqlnd
20+
--with-pdo-mysql=mysqlnd
21+
--with-libdir=lib
22+
--with-ldap=shared
23+
--with-jpeg-dir=/usr
24+
--with-png-dir=/usr
25+
--with-freetype-dir=/usr
26+
--with-zlib-dir=/usr
27+
--with-mcrypt=/usr
28+
--with-freetype-dir=/usr
29+
30+
--with-zlib
31+
--with-pdo-sqlite
32+
--with-openssl
33+
--without-pear
34+
--with-gd
35+
--with-readline
36+
--with-curl
37+
--with-pgsql
38+
--with-pdo-pgsql
39+
--with-gettext
40+
--with-xsl
41+
--with-tidy
42+
--with-xmlrpc
43+
--with-bz2
44+
--with-gmp
45+
--with-kerberos
46+
--with-imap
47+
--with-imap-ssl
48+
--with-ldap-sasl
49+
--with-ssh2

0 commit comments

Comments
 (0)