[Resolved]How is stored php additional versions configurations ?

Discussion in 'General' started by AEG-Simply, Jul 27, 2018.

  1. AEG-Simply

    AEG-Simply Member

    Hello,

    I'm working on a (nearly finished) ansible role for ispconfig.
    As I'm using php7.2 in this, I would also like to know how is managed additionals php versions, in the goal to add it to my role.

    I don't have php5.6 in it, but even with only php 7.2, ISPConfig websites will only work if I do not add an addiitonal php version and specify it in website configuration.

    Thanks
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    I used this article to install php 5.6, 7.1 and 7.2:
    https://www.howtoforge.com/tutorial...fig-3-from-debian-packages-on-debian-8-and-9/
    The comment by Jesse Norell is useful, I got those PHP versions configured and can choose per website what PHP it usess.
    At least in Debian GNU/Linux, the latest installed PHP becomes the default version. This breaks things, the PHP that comes with the distribution as standard must be changed back to be the default with update-alternatives.
     
  3. ahrasis

    ahrasis Well-Known Member

    @AEG-Simply it will depends on your distro because ISPConfig default installation is based on distro. For additional php, I think it is fine to install other php (5.6, 7.0, 7.1) on top of your default php7.2 after you installed your ISPConfig.
     

Share This Page