List sites per PHP version

Discussion in 'General' started by cpasqualini, May 8, 2019.

  1. cpasqualini

    cpasqualini New Member

    Using PHP-FPM alows us to provide multiple PHP versions to our clients, that's a great feature!

    Right now I'm in face of removing support for PHP 5.6 and 7.0 as they have reached EOL in 2018, and has some limited support from SURY:
    see twitter dot com /debsuryorg/status/1103979509332754432 (can't post links)

    I have not found a way to filter sites based on the configured PHP version.
    Is there a way or this is a new feature request?

    what happens if I remove the Active checkbox in the additional PHP versions of a specific version, and it was used on at least one site?
    get automattically changed to the nearest active version or get a bad gateway error?

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The PHP version will nor be selectible anymore, sites that sue it are affected only in that way that when the client wille dit the site the next time, the default PHP version will get selected (or a version he selcted other than the non-active version) when he saves the site settings.
    cpasqualini likes this.
  3. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    it's not exactly what you want, but you might find it useful.
    directly in mysql (or phpmyadmin) , on the master database, run the following query:

    select domain, php, fastcgi_php_version from web_domain where type like '%vhost%' order by php, fastcgi_php_version,domain;
    cpasqualini likes this.
  4. cpasqualini

    cpasqualini New Member

    Great, so it seems that it will be a good idea to deactivate the soon to be removed PHP versions in a kind of deprectated status, keep them installed for some time, and remove the packages in some future time.
    Sounds good.
  5. cpasqualini

    cpasqualini New Member

    Thanks! it'll do the job right now.
    I really think this must be implemented on the GUI, next (or inside) to the additional PHP version config.

Share This Page