Browse Source

disable php extras, add libwebp-dev dependency

PHP-GTK3
yggverse 4 months ago
parent
commit
8d2776a641
  1. 21
      INSTALL.sh
  2. 14
      README.md

21
INSTALL.sh

@ -58,6 +58,7 @@ if [[ $INSTALL_SYSTEM_DEPENDENCIES == "y" ]]; then
libsqlite3-dev\ libsqlite3-dev\
libssl-dev\ libssl-dev\
libtool\ libtool\
libwebp-dev\
libwnck-dev\ libwnck-dev\
libxml2-dev\ libxml2-dev\
libxpm-dev\ libxpm-dev\
@ -117,16 +118,24 @@ fi
## Install PHP-SRC ## Install PHP-SRC
if [[ $BUILD_PHP_SRC == "y" ]]; then if [[ $BUILD_PHP_SRC == "y" ]]; then
./configure --prefix="$DIR_PHP_SRC_TARGET"\ ./configure --prefix="$DIR_PHP_SRC_TARGET"\
--with-openssl\
--with-gettext\
--with-pdo-mysql\
--disable-cgi\ --disable-cgi\
--disable-dom\
--disable-phar\
--disable-session\
--disable-shared\ --disable-shared\
--enable-static\ --disable-simplexml\
--enable-sockets\ --disable-xml\
--disable-xmlreader\
--disable-xmlwriter\
--enable-mbstring\ --enable-mbstring\
--enable-pcntl\
--enable-shmop\ --enable-shmop\
--enable-pcntl --enable-sockets\
--enable-static\
--with-gettext\
--with-openssl\
--with-pdo-sqlite\
--without-libxml
make clean make clean
make -j $(nproc) make -j $(nproc)

14
README.md

@ -45,6 +45,7 @@ apt install autoconf\
libsqlite3-dev\ libsqlite3-dev\
libssl-dev\ libssl-dev\
libtool\ libtool\
libwebp-dev\
libwnck-dev\ libwnck-dev\
libxml2-dev\ libxml2-dev\
libxpm-dev\ libxpm-dev\
@ -58,13 +59,14 @@ apt install autoconf\
Make sure version 8.1 or above installed and configured with following options: Make sure version 8.1 or above installed and configured with following options:
``` ```
./configure --with-openssl\ ./configure --enable-mbstring\
--with-gettext\ --enable-pcntl\
--with-pdo-mysql\
--enable-sockets\
--enable-mbstring\
--enable-shmop\ --enable-shmop\
--enable-pcntl --enable-sockets\
--enable-static\
--with-gettext\
--with-openssl\
--with-pdo-sqlite
``` ```
#### [PHP-CPP](https://github.com/fast-debug/PHP-CPP) #### [PHP-CPP](https://github.com/fast-debug/PHP-CPP)

Loading…
Cancel
Save