Additional PHP version for everyone?

Discussion in 'Installation/Configuration' started by maxxer, Oct 29, 2015.

  1. maxxer

    maxxer Member

    Hi.
    I just noticed that adding an additional PHP version to the server doesn't add it to ALL clients, but just for the system one (if nothing else specified). Is this intended behaviour? I thought that not specifying one was valid for everyone, but it's not the case.
    Indeed, compared to other dropdowns where the * selection exists this is different, but a bit misleading.

    So, is this intentional? Is there any reason behind it?
    thanks
     
  2. maxxer

    maxxer Member

    other than that, what if I want client1 to only use FPM in ondemand mode? Or ask him to use it that way? Right now the client cannot see FPM options
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    You posted in a forum about non ISPConfig questions but your post looks as if you are using ISPConfig? So if ou have ISPConfig installed, which version do you use?
     
  4. maxxer

    maxxer Member

    Oups, I was mistaken in choosing the forum! Yes, I'm using the latest ISPConfig 3.0.5.4p8!
    I added PHP 5.5 to my Ubuntu 12 (which ships 5.3), but in ISPConfig I can only assign an additional php version to a customer, not to the whole server.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    When no client is selected for a php version, then this version is available server wide. I just tested it here and I'am able to select all globally available php versions when I'am logge din as client.
     
  6. maxxer

    maxxer Member

    retested again and I can confirm what you say, I probably did something wrong previously :/

    what about letting clients tweak fpm settings?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    FPM settings can be set by the admin in the custom php.ini field but not by the client. The problem is that the client would be able to use php.ini settings to enable functions that the admin might have disabled for security reasons or that the client would be able to give its php more memory to crash the whole server.
     
  8. maxxer

    maxxer Member

    I don't know the insights of ISPConfig, but fpm mode, timeout and such are into the "custom php.ini" textarea. There's only one permission for the whole php settings, that's why you say that?

    Could it be something to be set into customer, or via template?
     

Share This Page