Update ioncube.sh

This commit is contained in:
FusionPBX
2019-02-17 10:49:50 -07:00
committed by GitHub
parent 5e6c17d54f
commit 04c0ab1b04

View File

@@ -20,6 +20,11 @@ unzip ioncube_loaders_lin_x86-64.zip
#remove the zip file
rm ioncube_loaders_lin_x86-64.zip
#remove the ioncube directory if it exists
if [ -d "ioncube" ]; then
rm -Rf ioncube
fi
#copy the loader to the correct directory
if [ ."$php_version" = ."5.6" ]; then
#copy the php extension .so into the php lib directory