File tree Expand file tree Collapse file tree 1 file changed +25
-11
lines changed
Expand file tree Collapse file tree 1 file changed +25
-11
lines changed Original file line number Diff line number Diff line change @@ -464,17 +464,31 @@ if [ "$PHP_B" = true ] ; then
464464 cd $BUILD_DIR_PHP
465465
466466 # Configure PHP
467- ./configure --prefix=/usr/local/hestia/php \
468- --enable-fpm \
469- --with-fpm-user=admin \
470- --with-fpm-group=admin \
471- --with-libdir=lib/x86_64-linux-gnu \
472- --with-mysqli \
473- --with-gettext \
474- --with-curl \
475- --with-zip \
476- --with-gmp \
477- --enable-mbstring
467+ if [ $BUILD_ARCH == ' amd64' ]; then
468+ ./configure --prefix=/usr/local/hestia/php \
469+ --enable-fpm \
470+ --with-fpm-user=admin \
471+ --with-fpm-group=admin \
472+ --with-libdir=lib/x86_64-linux-gnu \
473+ --with-mysqli \
474+ --with-gettext \
475+ --with-curl \
476+ --with-zip \
477+ --with-gmp \
478+ --enable-mbstring
479+ else
480+ ./configure --prefix=/usr/local/hestia/php \
481+ --enable-fpm \
482+ --with-fpm-user=admin \
483+ --with-fpm-group=admin \
484+ --with-libdir=lib/aarch64-linux-gnu \
485+ --with-mysqli \
486+ --with-gettext \
487+ --with-curl \
488+ --with-zip \
489+ --with-gmp \
490+ --enable-mbstring
491+ fi
478492 fi
479493
480494 cd $BUILD_DIR_PHP
You can’t perform that action at this time.
0 commit comments