parent
b912e35c49
commit
8555782f58
@ -1,6 +1,7 @@
|
||||
SOURCES/openlitespeed-1.8.2.tar.gz
|
||||
SOURCES/third-party.tar.xz
|
||||
SOURCES/admin_php.tar.xz
|
||||
SOURCES/ls-hpack-2.3.3.tar.gz
|
||||
SOURCES/ls-qpack-2.5.4.tar.gz
|
||||
SOURCES/lsquic-4.0.12.tar.gz
|
||||
SOURCES/openlitespeed-1.8.2.tar.gz
|
||||
SOURCES/php-7.4.33.tar.gz
|
||||
SOURCES/php-litespeed-8.1.tgz
|
||||
SOURCES/third-party.tar.xz
|
||||
|
@ -1,6 +1,7 @@
|
||||
b737416510aafc37fc2e1cf0f64b57b66f1db854 SOURCES/admin_php.tar.xz
|
||||
343f961c9b93d36b4a8874f9fbf9e3087b0e7e00 SOURCES/ls-hpack-2.3.3.tar.gz
|
||||
8ad5b9c2da97e40a0efc1927def334957ea14c58 SOURCES/ls-qpack-2.5.4.tar.gz
|
||||
ea49cda7da4b07fe1cfd14d3c29f2232616c461c SOURCES/lsquic-4.0.12.tar.gz
|
||||
068b78e67475debd2321fed6195989dad28dad43 SOURCES/openlitespeed-1.8.2.tar.gz
|
||||
d7e14705c3909dd7218a686a4836f50a56810eea SOURCES/openlitespeed-1.8.2.tar.gz
|
||||
7c29812c51880390b74a5b23f0afe61e3b374645 SOURCES/php-7.4.33.tar.gz
|
||||
6c6cca5a290041a312c3d0c7e9a1fa925f47fa7c SOURCES/php-litespeed-8.1.tgz
|
||||
63ea80ec5e804e3b06cbe1d88ee300d08208719b SOURCES/third-party.tar.xz
|
||||
|
@ -0,0 +1,40 @@
|
||||
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
|
Loading…
Reference in new issue