Jelajahi Sumber

Update php-compile.sh

Bozhidar Slaveykov 1 tahun lalu
induk
melakukan
fb68adfb7b
1 mengubah file dengan 46 tambahan dan 13 penghapusan
  1. 46 13
      compilators/debian/php/php-compile.sh

+ 46 - 13
compilators/debian/php/php-compile.sh

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