Skip to content

Commit 8f53dd5

Browse files
authored
Merge pull request #11 from xp-forge/feature/xml
Enable XML extensions
2 parents d0df6aa + f2dcfbb commit 8f53dd5

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

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

Lines changed: 2 additions & 6 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,11 @@ 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 \
3129
--disable-simplexml \
32-
--disable-xml \
33-
--disable-xmlreader \
34-
--disable-xmlwriter && \
30+
--disable-pdo && \
3531
make -j $(nproc) all install
3632

3733
# Create XP Bootstrap

0 commit comments

Comments
 (0)