ISPConfig with PHP8

Discussion in 'General' started by Alecs, Dec 8, 2020.

Tags:
  1. Zerogiven

    Zerogiven New Member

    Hi all,

    How is it going with PHP8 development? Cause php7.4 will reach end of life this year... this is the latest moment for me to not upgrade system php version to php8... Maybe i could as an experienced PHP developer (since 5.1 as professional)

    However, i'm very busy most of my time so best news would be you are telling me that development for php8 is mostly done at ispconfig ^^...

    cheers,
    Chris
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    We will support PHP 8 when the first supported Linux distribution will ship with PHP 8, and that will be Ubuntu 22.04. Until now, there is no OS that has PHP 8 as default version, so there is no need for ISPConfig to support it yet.
     
  3. Zerogiven

    Zerogiven New Member

    Nice to hear, cause ubuntu 22.04 release is planned at 21th April and debian will also release a version with php8 this year :) so, all i wanted to know is if it's planned to support php8 before security support for php7.4 will end (this year..)

    cheers
     
  4. michelangelo

    michelangelo Active Member

    If you have not replaced the PHP version that originally shipped with the operating system with upstream PHP 7.4, you do not need to worry about security support. The maintainer of the distribution will take care of this for you.
     
    Th0m and till like this.
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    As @michelangelo already mentioned, don't worry about PHP security support, as Linux distributions backport patches when security issues aríse.
     
  6. Johan Ylinenjarvi

    Johan Ylinenjarvi New Member

    Asking for a friend who upgraded his 20.04LTS box today to 22.04LTS... any easy salvation?
     
  7. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

  8. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    No way to restore back to Ubuntu 20.04? Image backup before big changes is a good idea.
    I would take backups of website files and database dumps, then if what @Th0m suggests in #27 does not work install a fresh Ubuntu 20.04, create websites and restore the backups.
    "Kaverin puolesta kyselen", eikös radiostakin tullut sen niminen ohjelma?
     
  9. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    I think that might work too, @Th0m's guide for using 22.04, except maybe not for production. Just don't forget to change the default back to 8.0 once ISPConfig starts supporting it, which is most probably late this year or early next year, though normally after .1 is released in October.
     
    Last edited: Apr 23, 2022
  10. Johan Ylinenjarvi

    Johan Ylinenjarvi New Member

  11. till

    till Super Moderator Staff Member ISPConfig Developer

    The default PHP version of Ubuntu 22.04 is 8.1 and not 8.0, so the default must be changed back to 8.1 when ISPConfig supports PHP 8. And I doubt that it would take that long to add Ubuntu 22.04 support, but nonetheless, there is a lot to do due to the fact that PHP 8 is not that good in regard to downwards compatibility with code written for PHP 5 - 7.
     
    ahrasis likes this.
  12. Johan Ylinenjarvi

    Johan Ylinenjarvi New Member

    If you were to setup a new Ubuntu-server with ISPConfig3 would you recommend 22.04LTS with PHP 7.4 for now or staying with 20.04LTS?
    Need to migrate an old Ubuntu 16.04 from 2017 with PHP 5.6 (and php 7.4 as alternate).
     
  13. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Stay with 20.04 LTS.
     
  14. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    We haven't tested anything on 22.04 because we don't support it yet. So stay with 20.04.
     
  15. Rohan Prahalad

    Rohan Prahalad New Member


    Hi,
    Any manuals to install php 8.0 as additional php on CENTOS 8. I seem to be struggling alot with the paths.
     
  16. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    In Debian / Ubuntu we use Ondrej Sury php repo but in Centos / Alma / Rocky I think most are using Remi php repo.
     
  17. Rohan Prahalad

    Rohan Prahalad New Member

    im trying to add PHP 8.0 on ISPCONFIG 3.2... I cant seem to the correct path for Centos as I already have PHP 7.4 installed 8 upload_2022-5-24_15-5-19.png
     
    Last edited: May 24, 2022
  18. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    The paths depend on where you installed the PHP 8 files. If you got the additional PHP 7 and 8 versions from the same place, see what you have in PHP 7 settings and adapt from there.
     

Share This Page