ISPConfig with PHP8

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

  1. Alecs

    Alecs New Member

    Hello everyone,
    I am just curious if there is a roadmap for PHP8 support? or is it already supported? Does anyone has an idea of this?
    Thank you
  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    I already installed php8.0 on my ISPConfig server and it works just fine. Simply follow tutorials for multiple php as your guides.
    Gwyneth Llewelyn likes this.
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    You can use PHP 8 as an additional PHP version for websites in ISPConfig, but don't change the default PHP version of the operating system to PHP 8.
  4. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    PHP 8.0 is currently not supported. We are planning to support it, but there is no fixed/projected for that. You can use it as additional version.
    Gwyneth Llewelyn likes this.
  5. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    In (unofficial) comment only, php versions are supported by ISPConfig when a linux distribution uses that version as their system default, and ISPConfig supports that OS version. There is a lot of work to do for php v8, it wouldn't surprise me to see it in a ISPConfig v4.0 rewrite, rather than reworking all the v3.x code.
    Gwyneth Llewelyn likes this.
  6. Alecs

    Alecs New Member

    Thank you everybody for the replies.
    Additional question: is there a recommended tutorial to follow in order to get php8 in versions? I don't want to break my nice ISPConfig config :)
  7. michelangelo

    michelangelo New Member

    On which distribution do you have your ISPConfig running? Ubuntu, CentOS, Debian?
    In case of CentOS 7/8: Get the php80* packages from Remi Repo. If you run Ubuntu/Debian then someone may want to suggest what to do since I'm not familiar with its 3rd party repos.

    Just a good advice:
    1. Don't install any PHP version which you've compiled straight from source by yourself. Always use pre-compiled packages on binary distributions!
    2. Don't replace your system's PHP version with PHP 8.0 as it was already stated here in this thread, that ISPConfig code is not compatible yet with PHP 8.0 but you can install PHP 8.0 in parallel as an additional PHP version. See the point "Additional PHP versions" in ISPConfig itself.
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Gwyneth Llewelyn and ahrasis like this.
  9. brainsys

    brainsys Member

    I note that the nightlies of Debian 11/Bullseye use php 7.4. Do you know if they will stick to that or likely to go php 8.0 for release (expected mid 2021)? Presumably that determines whether ISPConfig is supported at that time.
  10. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    I think ubuntu tends to release a little more frequently with updated software versions, so you might see ubuntu before Debian.
  11. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Next Ubuntu LTS (I guess ISPConfig does not support the Ubuntu versions between LTSs) is going to be 22.04. So ISPConfig support on Ubuntu probably comes in 2022.
    PHP 8 is packaged for Debian but has not yet reached Testing. Debian 11 freeze happens next spring, so PHP 8 may get to Debian 11.

Share This Page