Update openssl.sh

pull/680/head
Mr Chen 4 months ago
parent 3bef89d625
commit bb72b53f19
  1. 9
      plugins/php/versions/common/openssl.sh

@ -34,6 +34,15 @@ fi
Install_lib()
{
isInstall=`cat $serverPath/php/$version/etc/php.ini|grep "${LIBNAME}.so"`
if [ "${isInstall}" != "" ];then
echo "php-$version 已安装${LIBNAME},请选择其它版本!"
return
fi
if [ ! -f "$extFile" ];then
echo "locked" > $extFile
fi
echo "" >> $serverPath/php/$version/etc/php.ini
echo "[${LIBNAME}]" >> $serverPath/php/$version/etc/php.ini

Loading…
Cancel
Save