Comments on How to install PHP 5.6 and 7.0 - 8.4 with PHP-FPM and FastCGI mode for ISPConfig 3.2 with apt on Debian 11 to 12
In this guide we will take you through installing additional PHP versions (5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.1, 8.2, 8.3, and 8.4) on a Debian server with ISPConfig.
14 Comment(s)
Comments
This does not work für Debian 9 (Stretch)...
W: The repository 'https://packages.sury.org/php stretch Release' does not have a Release file.
They removed the support for Debian 9 (Stretch). For details (and possible workarounds), see the official GitHub issue https://github.com/oerdnj/deb.sury.org/issues/1785
In my version Debian below did not work, persist not update PHP to 8.2
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
This tutorial is about installing additional PHP versions on an ISPConfig server without altering the system's PHP version. This tutorial is not about updating the system PHP of your server to PHP 8.2 (which would break your ISPConfig installation).
Maybe good to know: after installing the PHP versions I needed (8.0 - 8.2), I did notice that there are upgradable packages. In my case the following packages where available after issuing the command 'apt update': 'libapache2-mod-php php php-apcu php-apcu-bc php-bz2 php-curl php-gmagick php-mbstring php-memcache php-mysql php-xml'. At the time of writing my VPS runs Debian 11 - these packages refelect PHP 7.4 (I guess).
Thanks Till! After installing PHP 7.4, the server response time increased by almost 100%! I'm using Debian 12 ISPconfig (the perfect sever)
Please post in the forum if you need help: https://forum.howtoforge.com/forums/installation-configuration.27/
got error regarding "libicu65" not found. Installed without it, is that a problem? Would it still work?
got error regarding installing PHP5.6 that "libicu65" was not found. Installed without it, is that a problem? Would it still work?
what about php 8.4 ?
You can install it in the same way. Use the instructions from PHP 8.3, replacing the number 3 with the number 4.
Hi Guys,
it seems that there is no option for PHP upgrade on Debian 10. I tried this tutorial and when I try to update, I get:
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
and
The repository 'https://packages.sury.org/php buster InRelease' is no longer signed.
Is there any workaround for this issue or...?
Thanks.
Debian 10 is EOL, and Sury repo does not provide packages for EOL Debian versions anymore. Update your system to Debian 11 or Debian 12.
Hi Till,
thanks for your reply.
As I assumed. In that case, it looks like I'll have to migrate the server to a newer version of Debian
Best regards