From eefc35b7783a3841770dfe0f2b91dbb3e7b10f26 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 10 Nov 2025 11:57:32 -0700 Subject: [PATCH] Add support for PHP 8.3 in ioncube.sh --- ubuntu/resources/ioncube.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/ubuntu/resources/ioncube.sh b/ubuntu/resources/ioncube.sh index 3555617..2989dd9 100755 --- a/ubuntu/resources/ioncube.sh +++ b/ubuntu/resources/ioncube.sh @@ -102,4 +102,15 @@ if [ ."$php_version" = ."8.1" ]; then #restart the service service php8.1-fpm restart -fi \ No newline at end of file +fi +if [ ."$php_version" = ."8.3" ]; then + #copy the php extension .so into the php lib directory + cp ioncube/ioncube_loader_lin_8.3.so /usr/lib/php/20230831 + + #add the 00-ioncube.ini file + echo "zend_extension = /usr/lib/php/20230831/ioncube_loader_lin_8.3.so" > /etc/php/8.3/fpm/conf.d/00-ioncube.ini + echo "zend_extension = /usr/lib/php/20230831/ioncube_loader_lin_8.3.so" > /etc/php/8.3/cli/conf.d/00-ioncube.ini + + #restart the service + service php8.3-fpm restart +fi