Update php-compile.sh

This commit is contained in:
Bozhidar Slaveykov 2023-11-26 16:45:02 +02:00
parent b8f235fddf
commit fb68adfb7b

View file

@ -57,23 +57,56 @@ cd php-8.2.0
# Configure PHP
sudo make LIBDIR=/usr/lib/$(arch)-linux-gnu install
sudo ./buildconf
./buildconf --force
sudo ./configure --prefix=/usr/local/phyre/php \
--enable-fpm \
--with-fpm-user=admin \
--with-fpm-group=admin \
--with-openssl \
--with-mysqli \
--with-gettext \
--with-curl \
--with-zip \
--with-zlib \
--with-gd \
--with-jpeg \
--with-freetype \
--with-xsl \
--with-intl \
--enable-mbstring \
--enable-phpdbg \
--enable-fpm \
--with-pdo-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--with-pgsql \
--with-pdo-pgsql \
--with-pdo-sqlite \
--enable-intl \
--without-pear \
--enable-gd \
--with-jpeg \
--with-webp \
--with-freetype \
--with-xpm \
--enable-exif \
--with-zip \
--with-zlib \
--enable-soap \
--enable-xmlreader \
--with-xsl \
--with-tidy \
--enable-sysvsem \
--enable-sysvshm \
--enable-shmop \
--enable-pcntl \
--with-readline \
--enable-mbstring \
--with-curl \
--with-gettext \
--enable-sockets \
--with-bz2 \
--with-openssl \
--with-gmp \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--with-enchant=/usr \
--with-kerberos \
--enable-sysvmsg \
--with-ffi \
--with-sodium \
--enable-zend-test=shared \
--enable-dl-test=shared \
--enable-werror \
--with-pear \
--with-libdir=lib/$(arch)-linux-gnu