diff --git a/INSTALL.sh b/INSTALL.sh index 07232954..757d9c67 100755 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -58,6 +58,7 @@ if [[ $INSTALL_SYSTEM_DEPENDENCIES == "y" ]]; then libsqlite3-dev\ libssl-dev\ libtool\ + libwebp-dev\ libwnck-dev\ libxml2-dev\ libxpm-dev\ @@ -117,16 +118,24 @@ fi ## Install PHP-SRC if [[ $BUILD_PHP_SRC == "y" ]]; then ./configure --prefix="$DIR_PHP_SRC_TARGET"\ - --with-openssl\ - --with-gettext\ - --with-pdo-mysql\ --disable-cgi\ + --disable-dom\ + --disable-phar\ + --disable-session\ --disable-shared\ - --enable-static\ - --enable-sockets\ + --disable-simplexml\ + --disable-xml\ + --disable-xmlreader\ + --disable-xmlwriter\ --enable-mbstring\ + --enable-pcntl\ --enable-shmop\ - --enable-pcntl + --enable-sockets\ + --enable-static\ + --with-gettext\ + --with-openssl\ + --with-pdo-sqlite\ + --without-libxml make clean make -j $(nproc) diff --git a/README.md b/README.md index 9ac53505..48433fae 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ apt install autoconf\ libsqlite3-dev\ libssl-dev\ libtool\ + libwebp-dev\ libwnck-dev\ libxml2-dev\ libxpm-dev\ @@ -58,13 +59,14 @@ apt install autoconf\ Make sure version 8.1 or above installed and configured with following options: ``` -./configure --with-openssl\ - --with-gettext\ - --with-pdo-mysql\ - --enable-sockets\ - --enable-mbstring\ +./configure --enable-mbstring\ + --enable-pcntl\ --enable-shmop\ - --enable-pcntl + --enable-sockets\ + --enable-static\ + --with-gettext\ + --with-openssl\ + --with-pdo-sqlite ``` #### [PHP-CPP](https://github.com/fast-debug/PHP-CPP)