diff --git a/src/Action/CreateListOfFilesToGenerate.php b/src/Action/CreateListOfFilesToGenerate.php index 456e7d4..7f4cb8a 100644 --- a/src/Action/CreateListOfFilesToGenerate.php +++ b/src/Action/CreateListOfFilesToGenerate.php @@ -53,6 +53,11 @@ final class CreateListOfFilesToGenerate name: 'docker-entrypoint-php', path: 'tools/docker/images/php/root/usr/local/bin', ); + $filesToGenerate[] = new TemplateFile( + data: 'php/php.ini', + name: 'php.ini', + path: 'tools/docker/images/php/root/usr/local/etc/php', + ); if (Arr::has(array: $configurationData, keys: 'php.phpstan')) { $filesToGenerate[] = new TemplateFile(data: 'php/phpstan.neon', name: 'phpstan.neon.dist'); diff --git a/templates/php/php.ini.twig b/templates/php/php.ini.twig new file mode 100644 index 0000000..fa28093 --- /dev/null +++ b/templates/php/php.ini.twig @@ -0,0 +1,4 @@ +# {{ managedText }} + +max_vars_input = 1000 +memory_limit = {{ php.ini.memory_limit | default('128M') }}