Skip to content

Commit

Permalink
chore: improve php overwrite section
Browse files Browse the repository at this point in the history
  • Loading branch information
dinxsh authored Dec 15, 2024
1 parent 06be561 commit 4e03641
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion apps/docs/content/php/how-to/customize-runtime.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,18 @@ When the custom runtime cache is used, Zerops doesn't create a prepare runtime c

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:
Here's an example of how to adjust PHP's `post_max_size` directive:

```yml
zerops:
# define hostname of your service
- setup: app
# ==== how to build your application ====
run:
# REQUIRED. Sets the base technology for the build environment:
base: [email protected]

# OPTIONAL. Defines the env variables for the build environment:
envVariables:
PHP_INI_post_max_size: 10M
```

0 comments on commit 4e03641

Please sign in to comment.