ISPConfig 3.1.6 : bug in "multiple PHP version" ?

Discussion in 'General' started by David80, Sep 4, 2017.

  1. David80

    David80 New Member

    Hi people,
    like a title, i probably found a bug handling multiple versions of php-fpm (there are not selectable by user or reseller).
    Using admin, multiple version works correctly, but with normal user (client or reseller) is not possible to select a version.
    I try different way to produce this issue:
    1. admin : creating new php version without assign user -> new site (with admin) -> multiple versions works;
    2. user: with admin assign in global configuration a php-fpm version to user c2 (c1 is a reseller) -> waiting to reflect configuration -> login with this User -> new site -> select PHP-FPM -> selecting multiple versions ISPconfig expose me ONLY default (multiple choice doesn't work);
    3. user: trying to de-assign user in php-fpm version, but is the issue persist (it doesn't works).
    4. reseller : like user, multiple php doesn't works.
    My server configuration:
    • Os: Debian 9
    • Server platform : apache 2.4.25-3+deb9u2 (default), with libapache2-mod-security2 (default) and other;
    • php versions installed : 7.0.19-1 (default) | 5.6.30-0 (both version tested and works);
    • Database: MariaDB 10.1.26-0+deb9u1 (default);
    • ISPconfig installed like a guide in a fresh enviroment.

    EDIT: when site is saved all works (this issue is present only in creation phase)

    Thanks to support.
    Cheers.
     
    Last edited: Sep 4, 2017
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Trying to reproduce/test that, I don't see the problem, or am doing something wrong. I switch to a user, under Sites > Add new website, I select PHP-FPM and I have 3 options under PHP Version (Default and 2 custom); those are the same 3 options I have when adding a site as admin.

    I'm using Debian 9 with ispconfig 3.1.6
     
  3. David80

    David80 New Member

    Thank you for reply!

    Maybe I did something wrong, but in earlier versions of ISPconfig it never happened.

    In my case, this problem occurs only when I create first new site in a fresh installation of ISPconfig (using user or reseller);
    after first saving, Multiple PHP on ISPconfig works perfectly.
     

Share This Page