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 @@ -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 @@ -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)

14
README.md

@ -45,6 +45,7 @@ apt install autoconf\ @@ -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\ @@ -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)

Loading…
Cancel
Save