Skip to content

Commit 71e7455

Browse files
committed
Enable XML extensions
1 parent d0df6aa commit 71e7455

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/main/php/xp/lambda/Dockerfile.runtime

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ RUN yum clean all && yum install -y \
1313
make \
1414
re2c \
1515
openssl-devel \
16+
libxml2-devel \
1617
tar \
1718
zip \
1819
bison-3.0.4-2.el7.x86_64.rpm
@@ -22,16 +23,10 @@ RUN curl -L https://github.com/php/php-src/archive/php-${php_version}.tar.gz | t
2223

2324
RUN cd php-src-php-${php_version} && ./buildconf --force && ./configure \
2425
--prefix=/opt/php/ \
25-
--without-libxml \
2626
--without-sqlite3 \
2727
--with-openssl \
2828
--enable-bcmath \
29-
--disable-pdo \
30-
--disable-dom \
31-
--disable-simplexml \
32-
--disable-xml \
33-
--disable-xmlreader \
34-
--disable-xmlwriter && \
29+
--disable-pdo && \
3530
make -j $(nproc) all install
3631

3732
# Create XP Bootstrap

0 commit comments

Comments
 (0)