Upgrading PHP to 8.4
Remi has released an updated PHP 8.1, so a simple yum upgrade will fix the security issue
Due to the upcoming security issue, it can be wise to upgrade the currently deployed PHP 8.1 to 8.4 on CentOS 9. Be warned the upgrade may change the libmyodbc library so you may need to edit the /etc/odbcinst.ini
dnf -y module switch-to php:remi-8.4/common
yum -y upgrade
cd /usr/local/src
\rm -r ioncube*
wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
tar xzvf ioncube_loaders_lin_x86-64.tar.gz
cp ioncube/ioncube_loader_lin_8.4.so /usr/lib64/php/modules/
Edit the /etc/php.ini and replace ioncube_loader_lin_8.1.so with 8.4 version
restart php-fpm using
service php-fpm restart
Upgrade MiRTA PBX with PHP 8.4 code
cd /var/www/html/pbx
wget http://devel.mirtapbx.com/manualupgrade.tar.gz
tar xzvf manualupgrade.tar.gz
\rm manualupgrade.tar.gz
cd /var/www/html/pbx/protected
php manualUpgrade.php
No comments to display
No comments to display