Update php-compile.sh

This commit is contained in:
Bozhidar Slaveykov 2023-11-25 23:47:31 +02:00
parent 122ff631f5
commit 35e23ef07e

View file

@ -13,15 +13,17 @@ cd php-8.2.0
# Configure PHP # Configure PHP
sudo ./configure --prefix=/usr/local/phyre/php \ #sudo ./configure --prefix=/usr/local/phyre/php \
--with-libdir=lib/$(arch)-linux-gnu \ # --with-libdir=lib/$(arch)-linux-gnu \
--enable-fpm --with-fpm-user=admin --with-fpm-group=admin \ # --enable-fpm --with-fpm-user=admin --with-fpm-group=admin \
--with-openssl \ # --with-openssl \
--with-mysqli \ # --with-mysqli \
--with-gettext \ # --with-gettext \
--with-curl \ # --with-curl \
--with-zip \ # --with-zip \
--enable-mbstring # --enable-mbstring
sudo ./configure --prefix=/usr/local/phyre/php
# Compile PHP # Compile PHP
sudo make sudo make