Update ioncube.sh

This commit is contained in:
FusionPBX 2019-08-20 17:09:52 -06:00 committed by GitHub
parent 0726ba981b
commit 25ec4ae435
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -70,3 +70,13 @@ if [ ."$php_version" = ."7.1" ]; then
#restart the service
service php7.1-fpm restart
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