• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the current Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Issue Plesk PHP8.2.20 and PHP8.3.8 bugged, rollback?

nicklas.sjo

New Pleskian
Server operating system version
Ubuntu 22.04.4 LTS
Plesk version and microupdate number
18.0.61
Hi,

Our servers autoupdated to php 8.2.20 this morning which contains a critical bug.


Is there any way to rollback updates of a PHP version?

Also tried installing a custom version but having trouble configuring it correctly.

Any help appreciated!
 
Hello!

Yes, packages for previous version are avialiable for on auto install.plesk.com in Index of /pool/PHP_8.2.19_93. To downgrade your can:

Code:
# cp -f /etc/apt/sources.list.d/plesk.list /root/plesk.list
# sed -i -e 's,PHP82_17,pool/PHP_8.2.19_93,g' /etc/apt/sources.list.d/plesk.list
# apt update
# apt install plesk-php82=8.2.19-ubuntu.22.04.240510.0951

Please note, that subsequent runs of `plesk installer` will bring a new version back. Also, we are considering to issue the update to 8.2.20 / 8.3.8 with patches from the PHP issues #14480 and #14495
 
Thanks for the quick response. Got it installed but it doesn't show up in plesk nor does any extensions seem to be added. Don't really know where to go from here. Do I need to add it as a custom installation?

Also, we are considering to issue the update to 8.2.20 / 8.3.8 with patches from the PHP issues #14480 and #14495
That would be a ton easier!
 
Installed all packages individually and got it working. One question though, will this be overwritten by any automatic update? Do I have to lock the components with the update page?
 
Final solution that worked for us (installed as php 8.3 instead, to keep 8.2 working):
cp -f /etc/apt/sources.list.d/plesk.list /root/plesk.list
sed -i -e 's,PHP83_17,pool/PHP_8.3.7_27,g' /etc/apt/sources.list.d/plesk.list
apt update

Install packages
apt install plesk-php83=8.3.7-ubuntu.22.04.240510.0951 plesk-php83-bcmath=8.3.7-ubuntu.22.04.240510.0951 plesk-php83-cli=8.3.7-ubuntu.22.04.240510.0951 plesk-php83-dba=8.3.7-ubuntu.22.04.240510.0951 \
plesk-php83-enchant=8.3.7-ubuntu.22.04.240510.0951 plesk-php83-fpm=8.3.7-ubuntu.22.04.240510.0951 plesk-php83-gd=8.3.7-ubuntu.22.04.240510.0951 \
plesk-php83-imap=8.3.7-ubuntu.22.04.240510.0951 plesk-php83-intl=8.3.7-ubuntu.22.04.240510.0951 plesk-php83-ldap=8.3.7-ubuntu.22.04.240510.0951 plesk-php83-mbstring=8.3.7-ubuntu.22.04.240510.0951 \
plesk-php83-mysql=8.3.7-ubuntu.22.04.240510.0951 plesk-php83-odbc=8.3.7-ubuntu.22.04.240510.0951 plesk-php83-opcache=8.3.7-ubuntu.22.04.240510.0951 plesk-php83-pdo=8.3.7-ubuntu.22.04.240510.0951 \
plesk-php83-pgsql=8.3.7-ubuntu.22.04.240510.0951 plesk-php83-process=8.3.7-ubuntu.22.04.240510.0951 plesk-php83-pspell=8.3.7-ubuntu.22.04.240510.0951 \
plesk-php83-snmp=8.3.7-ubuntu.22.04.240510.0951 plesk-php83-soap=8.3.7-ubuntu.22.04.240510.0951 plesk-php83-sodium=8.3.7-ubuntu.22.04.240510.0951 \
plesk-php83-tidy=8.3.7-ubuntu.22.04.240510.0951 plesk-php83-xml=8.3.7-ubuntu.22.04.240510.0951 plesk-php83-pear=1.10.15-ubuntu.22.04.240510.0951 \
plesk-php83-imagick=3.7.0-ubuntu.22.04.240510.0951 plesk-php83-redis=6.0.2-ubuntu.22.04.240510.0951 plesk-php83-xdebug=3.3.2-ubuntu.22.04.240510.0951

Install APCU
apt install plesk-php83-dev zlib1g-dev gcc
/opt/plesk/php/8.3/bin/pecl install apcu
echo "extension=apcu.so" > /opt/plesk/php/8.3/etc/php.d/apcu.ini

Restart
service plesk-php83-fpm restart || plesk bin php_handler --reread

If you do it like this, make sure to select the correct version in your plan and sync all subscriptions.
 
Installed all packages individually and got it working. One question though, will this be overwritten by any automatic update? Do I have to lock the components with the update page?
Yes, but you need to temporary disable Plesk updates in Tools& Settings -> Update settings, by off Automatically install Plesk updates

That would be a ton easier!
We will release patched version, but most likely tomorrow
 
Back
Top