Lordvardus
New Pleskian
Hello,
I am running Plesk on Ubuntu 20.04 (Focal) and would like to add PHP 5.6 as an additional PHP handler, so that I can select it for legacy websites in Plesk.
Plesk currently offers PHP versions from 7.0 to 8.5, but PHP 5.6 is not available in the Plesk installer.
I found PHP 5.6.40 packages in the Ondřej Surý PHP PPA:
5.6.40-81+ubuntu20.04.1+deb.sury.org+1
However, when I simulate installing the packages, APT wants to upgrade libpcre3 from the Ubuntu version 2:8.39-12ubuntu0.1 to the PPA version 2:8.45-1+ubuntu20.04.1+deb.sury.org+1.
The PHP packages require libpcre3 >= 2:8.41, so keeping the currently installed Ubuntu version results in unmet dependencies.
The simulation shows no packages being removed, but I am concerned about compatibility with Plesk and its components, which also use libpcre3.
My questions are:
I would appreciate advice from anyone who has tested this setup.
Plesk Obsidian 18.0.82.1
OS version: Ubuntu 20.04 x86_64
Build date: 2026/10/27 17:00
Thank you!
I am running Plesk on Ubuntu 20.04 (Focal) and would like to add PHP 5.6 as an additional PHP handler, so that I can select it for legacy websites in Plesk.
Plesk currently offers PHP versions from 7.0 to 8.5, but PHP 5.6 is not available in the Plesk installer.
I found PHP 5.6.40 packages in the Ondřej Surý PHP PPA:
5.6.40-81+ubuntu20.04.1+deb.sury.org+1
However, when I simulate installing the packages, APT wants to upgrade libpcre3 from the Ubuntu version 2:8.39-12ubuntu0.1 to the PPA version 2:8.45-1+ubuntu20.04.1+deb.sury.org+1.
The PHP packages require libpcre3 >= 2:8.41, so keeping the currently installed Ubuntu version results in unmet dependencies.
The simulation shows no packages being removed, but I am concerned about compatibility with Plesk and its components, which also use libpcre3.
My questions are:
- Is it safe to upgrade libpcre3 to the version from the Ondřej Surý PPA on a Plesk server running Ubuntu 20.04?
- Could this break Plesk components, Apache, ModSecurity, or other system services?
- Is there a recommended way to install PHP 5.6 as a custom PHP-FPM handler in Plesk without replacing system libraries?
- Is there an officially supported or community-tested alternative for running PHP 5.6 with Plesk?
I would appreciate advice from anyone who has tested this setup.
Plesk Obsidian 18.0.82.1
OS version: Ubuntu 20.04 x86_64
Build date: 2026/10/27 17:00
Thank you!