• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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
 
I am also trying to install apcu on php 8.3 but I get this error:

No match for argument: plesk-php83-dev
No match for argument: zlib1g-dev

I have apcu running under 8.2 but need to keep the website up to date.
 
Sorry, cannot edit the above post. This is Alma Linux 8.10.

/etc/yum.repos.d:
total 100
-rw-r--r--. 1 root root 943 May 22 10:49 almalinux-ha.repo
-rw-r--r--. 1 root root 905 May 22 10:49 almalinux-nfv.repo
-rw-r--r--. 1 root root 885 May 22 10:49 almalinux-plus.repo
-rw-r--r--. 1 root root 963 May 22 10:49 almalinux-powertools.repo
-rw-r--r-- 1 root root 3761 Oct 15 19:01 almalinux.repo
-rw-r--r--. 1 root root 2666 Nov 16 2023 almalinux.repo.bak
-rw-r--r--. 1 root root 1041 May 22 10:49 almalinux-resilientstorage.repo
-rw-r--r--. 1 root root 871 May 22 10:49 almalinux-rt.repo
-rw-r--r--. 1 root root 928 May 22 10:49 almalinux-saphana.repo
-rw-r--r--. 1 root root 873 May 22 10:49 almalinux-sap.repo
-rw-r--r-- 1 root root 767 Jun 24 2022 atomic.repo
-rw-r--r-- 1 root root 1680 Aug 30 16:48 epel-modular.repo
-rw-r--r-- 1 root root 1332 Oct 15 19:01 epel.repo
-rw-r--r-- 1 root root 1779 Aug 30 16:48 epel-testing-modular.repo
-rw-r--r-- 1 root root 1431 Aug 30 16:48 epel-testing.repo
-rw-r--r-- 1 root root 209 Oct 23 03:22 plesk-ext-panel-migrator.repo
-rw-r--r-- 1 root root 203 Oct 23 03:22 plesk-ext-site-import.repo
-rw-r--r-- 1 root root 846 Oct 25 03:16 plesk.repo
-rw-r--r-- 1 root root 2096 May 12 20:00 remi-modular.repo
-rw-r--r-- 1 root root 1679 May 12 20:00 remi.repo
-rw-r--r-- 1 root root 961 May 12 20:00 remi-safe.repo
-rw-r--r-- 1 root root 1026 Jan 29 2019 rpmfusion-free-updates.repo
-rw-r--r-- 1 root root 1098 Jan 29 2019 rpmfusion-free-updates-testing.repo
-rw-r--r-- 1 root root 1071 Jan 29 2019 rpmfusion-nonfree-updates.repo
-rw-r--r-- 1 root root 1143 Jan 29 2019 rpmfusion-nonfree-updates-testing.repo

I am getting a "more than once in the configuration" warning for powertools, but that should not prevent me from installing a plesk php package. I also use php from the command line and have acpu installed there, but I need Plesk to manage the different versions for various websites.
 
Back
Top