phppackagedebiandebian-stretch

Debian - existence official PHP package


I have a question about PHP packages on Debian. My project currently is in PHP 7.4 but this version is no longer supported since 28 Nov 2022.

The problem is, I need to pass to PHP 8.0 (minimum) or 8.1 (last version available).

Does it exist an official PHP package for Debian 10 or Debian 11 (or stretch version) ? It is necessary for security constraints.


Solution

  • PHP version in Debian 10 is 7.3 and in 11 its 7.4 https://wiki.debian.org/PHP#Available_versions If you need PHP 8.0 or newer you could use a repo like https://packages.sury.org/php/