diff --git a/develop/php/php.conf b/develop/php/php.conf index 535a23d48..2b43bf039 100644 --- a/develop/php/php.conf +++ b/develop/php/php.conf @@ -25,12 +25,11 @@ var_append confopt ' ' "--with-libdir=${libdir##*/}" # global php.ini goes into sysconfdir var_append confopt ' ' "--with-config-file-path=$sysconfdir" -# sockets does not need any external lib. We have to enable it explicitly -var_append confopt ' ' "--enable-sockets" - -# mbstring is also selfcontained and nice to have around -var_append confopt ' ' "--enable-mbstring" -var_append confopt ' ' "--enable-mbregex" +# --enable because no dependency +# soap also needs --enable-libxml and --with-openssl +for x in sockets mbstring mbregex calendar bcmath soap; do + var_append confopt ' ' "--enable-${x}" +done for x in zlib bzip2:bz2 curl openssl libmhash:mhash gettext \ libjpeg:jpeg-dir libpng:png-dir freetype1:ttf; do