diff --git a/apps/docs/content/php/how-to/customize-runtime.mdx b/apps/docs/content/php/how-to/customize-runtime.mdx index ba74d975..4607e907 100644 --- a/apps/docs/content/php/how-to/customize-runtime.mdx +++ b/apps/docs/content/php/how-to/customize-runtime.mdx @@ -50,3 +50,18 @@ To invalidate the custom runtime cache go to `yyy` **// TODO screenshot** When the custom runtime cache is used, Zerops doesn't create a prepare runtime container and executes the deployment of your application directly. + +### Overwrite php.ini files + +You can override PHP configuration directives by setting environment variables in your `zerops.yml` file. + +For example, to adjust PHP's maximum POST size limit, you would set the `post_max_size` directive like this: + +```yml +zerops: + - setup: app + run: + base: php-nginx@8.3 + envVariables: + PHP_INI_post_max_size: 10M +```