PHP
display_errors
By default display_errors
is set to Off
in the php.ini
file.
memory_limit
By default memory_limit
is set to 128M
in the php.ini
file.
⚙️ Configuration
Variable | Default | Values | Details |
---|---|---|---|
DISPLAY_ERRORS | Off | On Off | |
MEMORY_LIMIT | 128M | <size> |
How to set configuration options
Set the environment variables when starting the container.
Use
Use
docker run
...- ...with
-e DISPLAY_ERRORS=Off
- ...with
--env-file .env
and placeDISPLAY_ERRORS=Off
in the file