Update mcrypt.sh

pull/109/head
midoks 3 years ago
parent 2df7bbb4ce
commit 975ff00afc
  1. 9
      plugins/php/versions/71/mcrypt.sh

@ -38,6 +38,10 @@ Install_lib()
if [ ! -f "$extFile" ];then
if [ ! -d $sourcePath/php${version}/ext ];then
cd $serverPath/mdserver-web/plugins/php && /bin/bash install.sh install ${version}
fi
cd $sourcePath/php${version}/ext/${LIBNAME}
@ -47,6 +51,11 @@ Install_lib()
fi
if [ ! -f "$extFile" ];then
echo "ERROR!"
return
fi
echo "" >> $serverPath/php/$version/etc/php.ini
echo "[${LIBNAME}]" >> $serverPath/php/$version/etc/php.ini
echo "extension=${LIBNAME}.so" >> $serverPath/php/$version/etc/php.ini

Loading…
Cancel
Save