Add php8.2 support
This commit is contained in:
parent
10dc132466
commit
80df536abe
|
|
@ -135,4 +135,17 @@ 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.2" ]; then
|
||||||
|
#copy the php extension .so into the php lib directory
|
||||||
|
cp ioncube/ioncube_loader_lin_8.2.so /usr/lib/php/20210902
|
||||||
|
|
||||||
|
#add the 00-ioncube.ini file
|
||||||
|
echo "zend_extension = /usr/lib/php/20220829/ioncube_loader_lin_8.2.so" > /etc/php/8.1/fpm/conf.d/00-ioncube.ini
|
||||||
|
echo "zend_extension = /usr/lib/php/20220829/ioncube_loader_lin_8.2.so" > /etc/php/8.1/cli/conf.d/00-ioncube.ini
|
||||||
|
|
||||||
|
#restart the service
|
||||||
|
service php8.2-fpm restart
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue