From e9746cb99edbcd1241004df1a7f436761535a52e Mon Sep 17 00:00:00 2001 From: tremor021 Date: Tue, 1 Jul 2025 16:02:14 +0200 Subject: [PATCH] Update ITSM --- install/itsm-ng-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/itsm-ng-install.sh b/install/itsm-ng-install.sh index 84ccbbf5..769ee0b7 100644 --- a/install/itsm-ng-install.sh +++ b/install/itsm-ng-install.sh @@ -52,7 +52,7 @@ PHP_INI="/etc/php/$PHP_VERSION/apache2/php.ini" sed -i 's/^upload_max_filesize = .*/upload_max_filesize = 20M/' $PHP_INI sed -i 's/^post_max_size = .*/post_max_size = 20M/' $PHP_INI sed -i 's/^max_execution_time = .*/max_execution_time = 60/' $PHP_INI -sed -i 's/^max_input_vars = .*/max_input_vars = 5000/' $PHP_INI +sed -i 's/^[;]*max_input_vars *=.*/max_input_vars = 5000/' "$PHP_INI" sed -i 's/^memory_limit = .*/memory_limit = 256M/' $PHP_INI sed -i 's/^;\?\s*session.cookie_httponly\s*=.*/session.cookie_httponly = On/' $PHP_INI systemctl restart apache2