Multiple php version choices

Discussion in 'General' started by rogershado, Aug 23, 2013.

  1. rogershado

    rogershado New Member

    Is it me or is it thrue that its only possible for admin to chance phpversion for a site:confused:
     
  2. rogershado

    rogershado New Member

    BUMP: Client change php version for site

    Any one please answer

    because as i see it the site owner (client) should be able to change php version

    if not any idea to make this possible whitout breaking any standard code or security
     
  3. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    Maybe you have the additional php versions assigned to a user under system->additional php versions
    If a version is assigned to a client, only that client or admin can use it.
     
  4. rogershado

    rogershado New Member

    Attached Files:

  5. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    Is php mode fcgi and/or fpm enabled in the client limits for the client?
     
  6. rogershado

    rogershado New Member

    Yes but since we only use fsat-cgi on all site/client on that are activate in site but on option both are aviable

    only way to get it avaible is to in usertype set user to admin instead of user
    and that is not an option i think


    i am total lost here
     

    Attached Files:

  7. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    No, setting to type admin will grant a lot of rights you don't want them to have.

    Please have a look into the web_domain table of dbispsconfig database. Check the settings for "sys_perm_user", "sys_perm_group", "sys_userid" and "sys_groupid" for the domain_id of the record.
     
  8. rogershado

    rogershado New Member

    it looks like this
     

    Attached Files:

  9. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    Oh wait a second. It is a bug in 3.0.5.3 that is corrected in svn.
    Here is a patch file that just fixes this issue.

    Apply it with
    cd /usr/local/ispconfig
    patch -p0 < patch.txt
     

    Attached Files:

  10. rogershado

    rogershado New Member

    Thank you very very much the patch make the trick:D



    Grettings

    Roger Shado
     
  11. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    You're welcome :)
     
  12. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

Share This Page