Update php-compile.sh
This commit is contained in:
parent
bfe6f9b780
commit
e0cd388f0c
1 changed files with 6 additions and 5 deletions
|
@ -14,11 +14,11 @@ 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 \
|
--enable-fpm --with-fpm-user=admin --with-fpm-group=admin \
|
||||||
--enable-fpm --with-fpm-user=admin --with-fpm-group=admin \
|
# --with-libdir=lib/$(arch)-linux-gnu \
|
||||||
--with-openssl \
|
# --with-openssl \
|
||||||
--with-mysqli \
|
# --with-mysqli \
|
||||||
--with-gettext \
|
# --with-gettext \
|
||||||
#--with-curl \
|
#--with-curl \
|
||||||
#--with-zip \
|
#--with-zip \
|
||||||
#--enable-mbstring
|
#--enable-mbstring
|
||||||
|
@ -32,6 +32,7 @@ sudo mkdir $PACKAGE_MAIN_DIR
|
||||||
|
|
||||||
# Create debian package directories
|
# Create debian package directories
|
||||||
sudo mkdir -p $PACKAGE_MAIN_DIR/DEBIAN
|
sudo mkdir -p $PACKAGE_MAIN_DIR/DEBIAN
|
||||||
|
sudo mkdir -p $PACKAGE_MAIN_DIR/usr/local/phyre
|
||||||
|
|
||||||
# Copy php compiled files
|
# Copy php compiled files
|
||||||
sudo mv /usr/local/phyre/php $PACKAGE_MAIN_DIR/usr/local/phyre
|
sudo mv /usr/local/phyre/php $PACKAGE_MAIN_DIR/usr/local/phyre
|
||||||
|
|
Loading…
Reference in a new issue