• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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