diff --git a/plugins/php-yum/install.sh b/plugins/php-yum/install.sh index 30b7ae8be..5a8d3eb5b 100755 --- a/plugins/php-yum/install.sh +++ b/plugins/php-yum/install.sh @@ -10,8 +10,8 @@ serverPath=$(dirname "$rootPath") install_tmp=${rootPath}/tmp/mw_install.pl if id www &> /dev/null ;then - echo "www UID is `id -u www`" - echo "www Shell is `grep "^www:" /etc/passwd |cut -d':' -f7 `" + echo "www uid is `id -u www`" + echo "www shell is `grep "^www:" /etc/passwd |cut -d':' -f7 `" else groupadd www # useradd -g www -s /sbin/nologin www diff --git a/plugins/php/versions/common/openssl.sh b/plugins/php/versions/common/openssl.sh index 8aad5692f..926d31bc2 100755 --- a/plugins/php/versions/common/openssl.sh +++ b/plugins/php/versions/common/openssl.sh @@ -85,7 +85,7 @@ Install_lib() echo "extension=${LIBNAME}.so" >> $serverPath/php/$version/etc/php.ini if [ -f "/etc/ssl/certs/ca-certificates.crt" ];then echo "openssl.cafile=/etc/ssl/certs/ca-certificates.crt" >> $serverPath/php/$version/etc/php.ini - elif [ -f "/etc/pki/tls/certs/ca-bundle.crt" ]; + elif [ -f "/etc/pki/tls/certs/ca-bundle.crt" ];then echo "openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt" >> $serverPath/php/$version/etc/php.ini fi echo "extension=${LIBNAME}.so" >> $serverPath/php/$version/etc/php.ini