Migrate PHP config from fpm to php

This is required for newer xdebug versions.
This also feels cleaner.
This commit is contained in:
Daniel Siepmann 2023-04-21 08:00:04 +02:00
parent fcfadd7e19
commit da0b0f2b72
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -17,7 +17,11 @@ let
xdebug
]);
extraConfig = ''
max_execution_time = 240
max_input_vars = 1500
xdebug.mode = debug
xdebug.max_nesting_level = 400
'';
};
@ -104,11 +108,6 @@ in {
"listen.group" = config.services.httpd.group;
"pm" = "ondemand";
"pm.max_children" = 15;
"php_admin_value[max_execution_time]" = 240;
"php_admin_value[max_input_vars]" = 1500;
# NOTE: Looks like this doesn't work, we need to set in php itself, see above extraConfig
# "php_admin_value[xdebug.mode]" = "debug";
"php_admin_value[xdebug.max_nesting_level]" = 400;
};
phpEnv = {
TYPO3_ADDITIONAL_CONFIGURATION = "/var/projects/own/typo3-configuration/AdditionalConfiguration.inc.php";