-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: improve php overwrite section
- Loading branch information
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
``` |