From 4e09a802b0fd9bf0577cdf7252384f0e6246483c Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 10 Dec 2024 19:31:15 +0800 Subject: [PATCH] update --- plugins/php-yum/install.sh | 4 ++-- plugins/php-yum/versions/common/{brotli.sh => bak_brotli.sh} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename plugins/php-yum/versions/common/{brotli.sh => bak_brotli.sh} (96%) diff --git a/plugins/php-yum/install.sh b/plugins/php-yum/install.sh index 49cc293d8..4ed4d994b 100755 --- a/plugins/php-yum/install.sh +++ b/plugins/php-yum/install.sh @@ -99,8 +99,8 @@ if [ "${action}" == "install" ] && [ -d ${serverPath}/php-yum/${type} ];then echo "install PHP-YUM[${type}] extend end" #初始化 - cd ${rootPath} && python3 ${rootPath}/plugins/php-yum/index.py start ${type} - cd ${rootPath} && python3 ${rootPath}/plugins/php-yum/index.py initd_install ${type} + cd ${rootPath} && python3 plugins/php-yum/index.py start ${type} + cd ${rootPath} && python3 plugins/php-yum/index.py initd_install ${type} if [ ! -f /usr/local/bin/composer ];then cd /tmp diff --git a/plugins/php-yum/versions/common/brotli.sh b/plugins/php-yum/versions/common/bak_brotli.sh similarity index 96% rename from plugins/php-yum/versions/common/brotli.sh rename to plugins/php-yum/versions/common/bak_brotli.sh index bb294e42f..a23a344b0 100755 --- a/plugins/php-yum/versions/common/brotli.sh +++ b/plugins/php-yum/versions/common/bak_brotli.sh @@ -50,7 +50,7 @@ Install_lib() cd $php_lib/${LIBNAME}-${LIBV} /opt/remi/php${version}/root/usr/bin/phpize - ./configure --with-php-config=/usr/bin/php-config${version} + ./configure --with-php-config=/opt/remi/php${version}/root/usr/bin/ make && make install && make clean fi