浏览代码

Update ioncube.sh

FusionPBX 6 年之前
父节点
当前提交
25ec4ae435
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      debian/resources/ioncube.sh

+ 10 - 0
debian/resources/ioncube.sh

@@ -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