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