Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ISPConfig 3
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 582
    • Issues 582
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 50
    • Merge requests 50
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISPConfig
  • ISPConfig 3
  • Issues
  • #6393
Closed
Open
Issue created Oct 13, 2022 by Zak@mindbender666

Websites php version gets (accidentally) altered by admin if websites php version is client_id != 0

Summary

If a website uses a php version only available to the customer/owner of the site and alterations are made by the admin, the php version gets overwritten by the admin on saving any changes.

I'am not sure if I got that right - but I think the function "getserverphp" in interface/web/sites/ajax_get_json.php does not even accomodate the possibility of "client-only php versions", from within the admins view. There is a query (line 86-93) specific to the admin, but "$app->functions->intval($client['client_id']" won't yield any other result than "0" when this is queried by the admin. So most of the admin specific part is not working as intended.

Environment

Server OS + version: irrelevant
ISPConfig version: all

Assignee
Assign to
Time tracking