Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
I
ISPConfig 3
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 500
    • Issues 500
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 26
    • Merge Requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISPConfig
  • ISPConfig 3
  • Issues
  • #2843

Closed
Open
Created Sep 18, 2013 by Steven Farley@por

Prevent duplicate values in custom php.ini

If a session.save_path (and possibly other values already set by ISPConfig) are set using the custom php.ini input there seems to be no check to prevent duplicate values from being set.


Currently without an existing value check the outcome was this: Notice the two php_admin_value[session.save_path] values

php_admin_value[open_basedir] = /var/www/clients/client1/web1/web:/var/www/clients/client1/web1/private:/var/www/clients/$ php_admin_value[session.save_path] = /var/www/clients/client1/web1/tmp php_admin_value[upload_tmp_dir] = /var/www/clients/client1/web1/tmp

php_admin_value[session.save_path] = /var/www/sessions


By checking for existing values the outcome would have become this:

php_admin_value[open_basedir] = /var/www/clients/client1/web1/web:/var/www/clients/client1/web1/private:/var/www/clients/$ php_admin_value[upload_tmp_dir] = /var/www/clients/client1/web1/tmp php_admin_value[session.save_path] = /var/www/sessions

Edited Sep 15, 2020 by Thom
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None