PHP versions Ispconfig 3.2.1 Ubuntu 18.04

Discussion in 'Installation/Configuration' started by sheshes, Dec 16, 2020.

  1. sheshes

    sheshes Member

    Guys, I noticed that my php version is still at 7.2 and cannot be updated to 7.4 automatically. Shouldn't be updated through apt easily?
    I searched in the forum but I only found instructions of installing multiple php version on Debian not ubuntu (I know they are similar, but can't risk it)

    Please advise how to proceed
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    No. The base PHP version belongs to the operating system and gets only raised when you upgrade to a new major version of the OS. So you'll get PHP 7.4 when you upgrade to Ubuntu 20.04. But an upgrade is not required as Ubuntu patches the version that ships with 18.04 for security issues and you can install newer and older PHP versions alongside PHP 7.2 and use that in the hosted websites.
     
  3. sheshes

    sheshes Member

    So I should add add-apt-repository ppa:eek:ndrej/php and download PHP 7.4 from apt and then set multiple versions in ISPconfig panel?
    Also when I install PHP 7.4 with above way the older 7.2 version and conf files will still remain at place and all my webs are going to be working properly? (I am on a production server)
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

  5. sheshes

    sheshes Member

    Thanks till, right as always :p
     

Share This Page