Update multiple versions of PHP

Discussion in 'Installation/Configuration' started by Pyanepsion, Aug 9, 2019.

  1. Pyanepsion

    Pyanepsion Member

    Hello,
    • Debian 4.9.168-1+deb9u4 (2019-07-19) x86_64
    • ISPConfig Version: 3.1.14p2 single
    • Nginx
    How to update all PHP versions and keep the default PHP version of ISPConfig?
    I installed a few days ago the management of several versions of PHP. I installed the PHP 7.0, 7.1, 7.2 and 7.3 versions. The default PHP version of ISPConfig is 7.0.
    To install PHP versioning, I followed the tutorial:
    How to install PHP 7.x as PHP-FPM & FastCGI for ISPConfig 3.1 with Debian 8 and 9. https://www.howtoforge.com/tutorial...-debian-8-and-9/#important-step-for-cron-jobs
     
  2. ahrasis

    ahrasis Well-Known Member

  3. till

    till Super Moderator Staff Member ISPConfig Developer

    They get updated automatically when you run:

    apt-get update
    apt-get upgrade
     
    Pyanepsion likes this.
  4. Pyanepsion

    Pyanepsion Member

    Thank. I had some concerns, because during a previous installation of multiple PHP versions with a bad tutorial, the update has replaced the default version by version 7.3.
    Here, impeccable, I do not need to reload the server snapshot. Everything worked fine except for the following points that have not been updated:
    What to do ?
     
  5. ahrasis

    ahrasis Well-Known Member

    I think this is the normal behaviour after the multiple php update, so you may want to restore your default php by switching back to it as I posted earlier.
     
    Pyanepsion likes this.
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    What's important is that you set the default PHP version at the end again, see chapter 10 of the guide.
     
  7. Pyanepsion

    Pyanepsion Member

    1. I did it right. I had once taken a bad tutorial to install the multiple PHP version. With the right tutorial, thanks Till and Ahrasis, it works.
    2. How to proceed for what is left of the update?
    ispconfig-update-02.png
     
    Last edited: Aug 10, 2019
  8. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Do
    Code:
    apt-get dist-upgrade
     
    Pyanepsion likes this.
  9. Pyanepsion

    Pyanepsion Member

    Your answer allowed me to find that it was the correct method, but it also had to restart the server. Thanks, Taleman.
     

Share This Page