You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.8 KiB
41 lines
1.8 KiB
diff --git a/dist/admin/misc/build_admin_php.sh b/dist/admin/misc/build_admin_php.sh
|
|
index 0edb3d4..623e55b 100755
|
|
--- a/dist/admin/misc/build_admin_php.sh
|
|
+++ b/dist/admin/misc/build_admin_php.sh
|
|
@@ -13,7 +13,6 @@ LSWS_HOME=`dirname $BASE_DIR`
|
|
PATH=$PATH
|
|
PHP_VERSION=7.4.33
|
|
PHP_BUILD_DIR=$LSWS_HOME/phpbuild
|
|
-mkdir ${PHP_BUILD_DIR}
|
|
LOG_FILE=${PHP_BUILD_DIR}/adminphp.log
|
|
|
|
# detect download method
|
|
@@ -35,7 +34,7 @@ else
|
|
fi
|
|
|
|
LSAPI_VERSION=8.1
|
|
-PHP_CONF_OPTIONS="--prefix=/tmp --disable-all --with-litespeed --enable-session --enable-posix --enable-xml --with-libexpat-dir=/usr --with-zlib --enable-sockets --enable-bcmath --enable-json"
|
|
+PHP_CONF_OPTIONS="--prefix=/tmp --disable-all --enable-litespeed --enable-session --enable-posix --enable-xml --libdir=/usr/lib64 --with-zlib --enable-sockets --enable-bcmath --enable-json --with-libxml"
|
|
|
|
PLF=`uname -p`
|
|
if [ "x$PLF" = "xx86_64" ] ; then
|
|
diff --git a/dist/install.sh b/dist/install.sh
|
|
index acd4a94..b4a422f 100755
|
|
--- a/dist/install.sh
|
|
+++ b/dist/install.sh
|
|
@@ -33,11 +33,11 @@ inst_admin_php()
|
|
|
|
if [ "x$OS" = "xLinux" ] ; then
|
|
if [ "x$ARCH" = "xx86_64" ] ; then
|
|
- mv $TEMPDIR/admin/fcgi-bin/admin_php $LSWS_HOME/admin/fcgi-bin/
|
|
+ mv $TEMPDIR/admin/fcgi-bin/admin_php-7.4.33 $LSWS_HOME/admin/fcgi-bin/admin_php
|
|
elif [ "x$ARCH" = "xaarch64" ] ; then
|
|
- $DLCMD $LSWS_HOME/admin/fcgi-bin/admin_php http://www.litespeedtech.com/packages/lsphp7_bin/aarch64/lsphp
|
|
+ mv $TEMPDIR/admin/fcgi-bin/admin_php-7.4.33 $LSWS_HOME/admin/fcgi-bin/admin_php
|
|
else
|
|
- $DLCMD $LSWS_HOME/admin/fcgi-bin/admin_php http://www.litespeedtech.com/packages/lsphp5_bin/i386/lsphp5
|
|
+ mv $TEMPDIR/admin/fcgi-bin/admin_php-7.4.33 $LSWS_HOME/admin/fcgi-bin/admin_php
|
|
fi
|
|
|
|
if [ $? = 0 ] ; then
|