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)

Add comment

Please register in our forum first to comment.

Comments

By: plusQ at: 2023-04-21 15:48:36

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.

 

By: PReimers at: 2023-05-19 13:57:35

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

By: gilson at: 2023-07-11 20:39:00

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

By: till at: 2023-07-12 06:10:34

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).

By: 30uke at: 2023-07-22 21:42:41

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). 

By: matieh at: 2024-02-21 22:33:00

Thanks Till! After installing PHP 7.4, the server response time increased by almost 100%! I'm using Debian 12 ISPconfig (the perfect sever)

By: till at: 2024-02-24 06:23:32

Please post in the forum if you need help: https://forum.howtoforge.com/forums/installation-configuration.27/

By: JOP at: 2024-08-15 08:10:55

got error regarding "libicu65" not found. Installed without it, is that a problem? Would it still work?

By: JOP at: 2024-08-15 08:12:58

got error regarding installing PHP5.6 that "libicu65" was not found. Installed without it, is that a problem? Would it still work?

By: oxyash at: 2024-11-28 20:05:25

what about php 8.4 ?

By: till at: 2024-11-28 20:13:02

You can install it in the same way. Use the instructions from PHP 8.3, replacing the number 3 with the number 4.

By: mixa at: 2024-12-11 11:05:56

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.

By: till at: 2024-12-11 14:14:59

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.

By: mixa at: 2024-12-12 14:41:27

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