Update ioncube.sh
This commit is contained in:
parent
3a6d647e33
commit
e085f99004
|
|
@ -20,6 +20,11 @@ unzip ioncube_loaders_lin_x86-64.zip
|
||||||
#remove the zip file
|
#remove the zip file
|
||||||
rm ioncube_loaders_lin_x86-64.zip
|
rm ioncube_loaders_lin_x86-64.zip
|
||||||
|
|
||||||
|
#change the version of php for debian stretch
|
||||||
|
if [ ."$os_codename" = ."stretch" ]; then
|
||||||
|
php_version=7
|
||||||
|
fi
|
||||||
|
|
||||||
#copy the loader to the correct directory
|
#copy the loader to the correct directory
|
||||||
if [ ."$php_version" = ."5" ]; then
|
if [ ."$php_version" = ."5" ]; then
|
||||||
#copy the php extension .so into the php lib directory
|
#copy the php extension .so into the php lib directory
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue