Unable to choose PHP version in resseller mode

Discussion in 'General' started by renaudmanda, Apr 11, 2023.

  1. renaudmanda

    renaudmanda New Member

    Hi there,
    I've set up a new ISPCONFIG server (3.2.9p1) and I want to let my customers create their own websites. To do this, I created a reseller and configured his account to be able to manage the "website stack".
    I also set up different releases of PHP for my client to use. When I log in with my admin user and create a new site, I can choose the PHP version I've installed. However, when I log in with my Reseller account, I only see PHP-FPM (the only option allowed), but I can't choose any of the PHP versions I have installed.
    Is this a limitation of the Reseller module or am I missing something?
    Thanks for your help
    Renaud
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    If admin creates something, then user can not change that. Is the website the reseller tries to manage created by admin and admin set the PHP version?
    If this is the case, avoid doing stuff for the reseller as admin. Admin can in ISPConfig panel change to the customer account, and do the stuff as that customer.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Besides what @Taleman explained, you can also disable the client protection mode in ISPConfig under System > Interface > main config.
     
  4. Fran17

    Fran17 New Member

    I have an admin user, then I have a reseller user and a client user.

    Deactivating the client protection in System > Interface > main config, if I create a site from the admin user and assign it to the client user, there is no problem in being able to select the php version from the client user, it lets me change it correctly and everything works ok . But if I create a site from the reseller user and assign it to the client user, from the client user I can't change the php version, but I can change it from the reseller user.

    I am interested that regardless of who creates the site, from the client user they can change the php version, since I have clients who are resellers and give their clients access to the panel so that they can have a certain autonomy.

    Let's see if you can tell me if this operation is possible.

    Thank you very much, regards.
     
  5. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

  6. Fran17

    Fran17 New Member

    Perfect, now I leave you the issue.

    Thanks for the help!!
     
  7. Taxi

    Taxi Member

    I'm experiencing a similar problem, which was reported already 2 years ago, as I found in a thread.
    When I'm creating a subdomain I can't choose PHP versions anymore. It worked before, but I can't tell what changed.
    When I'm looking at the domain itself, without the subdomain, there I can switch between PHP versions.
    I think the problem is with populating the drop-down, because I could see the the drop-down populated for a glimpse of a second, before I changed again to -.

    Kind regards
    Christian
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess you mix up subdomains with vhost-subdomains here. Subdomains share the same PHP version that the website has while vhost subdomains can have a different version. Your issue is not related to this thread here.
     
    Taxi likes this.
  9. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Is your situation one of the issues described in this thread? Which one?
     

Share This Page