Update ioncube.sh
This commit is contained in:
parent
0726ba981b
commit
25ec4ae435
|
|
@ -70,3 +70,13 @@ if [ ."$php_version" = ."7.1" ]; then
|
||||||
#restart the service
|
#restart the service
|
||||||
service php7.1-fpm restart
|
service php7.1-fpm restart
|
||||||
fi
|
fi
|
||||||
|
if [ ."$php_version" = ."7.3" ]; then
|
||||||
|
#copy the php extension .so into the php lib directory
|
||||||
|
cp ioncube/ioncube_loader_lin_7.3.so /usr/lib/php/20180731
|
||||||
|
|
||||||
|
#add the 00-ioncube.ini file
|
||||||
|
echo "zend_extension = /usr/lib/php/20160303/ioncube_loader_lin_7.3.so" > /etc/php/7.3/fpm/conf.d/00-ioncube.ini
|
||||||
|
|
||||||
|
#restart the service
|
||||||
|
service php7.3-fpm restart
|
||||||
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue