Ubuntu v20.04.3 multiple PHP versions setup

Discussion in 'Installation/Configuration' started by concept21, Aug 28, 2021.

  1. concept21

    concept21 Active Member

    Hello Guys,
    I plan to install multiple php versions on my very stable Ubuntu 20.04.3 which comes with a php v7.4.

    Multiple Installations of PHP Versions:
    sudo add-apt-repository ppa: ondrej/php
    sudo add-apt-repository ppa: ondrej/apache2

    Do you find these repositories stable enough to use on Ubuntu 20.04.3? Please share your experience with us. Thank you. :rolleyes:
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Ondrej Surys PHP repo is OK, I use it on many servers. Never used his Apache repo, so can not say anything about that.
    The https://www.ispconfig.org/documentation/ page has instructions on "Using multiple PHP versions"-
     
    Th0m and concept21 like this.
  3. concept21

    concept21 Active Member

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Use the official ISPConfig auto-installer, it installs multiple PHP versions by default.
     
    ahrasis and concept21 like this.
  5. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    using the ondrej php repo is fine, recommended even.

    i've tried using the ondrej apache2 repo before as well, and i don't recommend it.. yes it works fine for a while, and maybe i just got unlucky with maybe a bad update getting through, but i ran into issues where it wouldn't update some packages because it required dependencies it wouldn't install because i already had a newer version of something than it expected.
    the usual -fix / -f options didn't help, nor did remove / reinstall.
    getting everything updateable again was messy and convoluted. definitely more hassle than it was worth.
     
    Gwyneth Llewelyn and concept21 like this.

Share This Page