forked from norman/fusionpbx-install.sh-github-mirror
Add support for PHP 8.3 in ioncube.sh
This commit is contained in:
@@ -102,4 +102,15 @@ if [ ."$php_version" = ."8.1" ]; then
|
|||||||
|
|
||||||
#restart the service
|
#restart the service
|
||||||
service php8.1-fpm restart
|
service php8.1-fpm restart
|
||||||
fi
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user