Installing PHP 8 on Debian 10

Discussion in 'ISPConfig 3 Priority Support' started by Jemt, Oct 17, 2022.

  1. Jemt

    Jemt Member HowtoForge Supporter

    Hi,
    I want to install PHP 8 on Debian 10 running ISPConfig 3.
    There's a great article on the subject here: https://www.howtoforge.com/tutorial...fig-3-from-debian-packages-on-debian-8-and-9/

    I already have PHP 5.6, 7.0 and 7.3 running which all originates from the original Debian repositories (this server started out running Debian 7).
    So I only plan on installing PHP 8.0 and 8.1 from packages.sury.org - perhaps 7.4 as well. However, I'm not sure whether installing PHP from alternative sources will cause conflicts later on when I upgrade to Debian 11 and even later Debian 12 when it is released. Debian 12 will ship with PHP 8.x.

    What will happen when I upgrade from Debian 10 to Debian 11 and then to Debian 12? Will I need to uninstall PHP versions installed from packages.sury.org? Or will it cause conflicts? Or will Debian 12 overwrite the PHP 8 packages from the alternative repository?

    Anything else I need to consider in terms of ensuring upgradability ?

    - Thank you :)

    Jimmy
     
    Last edited: Oct 17, 2022
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I don't expect any issues with dist upgrades, you will have to adjust the sources.list for the sury repository as well when upgrading.
     
  3. Jemt

    Jemt Member HowtoForge Supporter

    Cool! Thanks :)
     

Share This Page