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.
php_admin_value[session.save_path]
values
Currently without an existing value check the outcome was this:
Notice the two 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