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 -1 (unlimited) in the php.ini file.
max_execution_time
By default max_execution_time is set to 600 seconds in the php.ini file.
⚙️ Configuration
| Variable | Default | Values | Details |
|---|---|---|---|
| DISPLAY_ERRORS | Off | On Off | |
| MEM_LIMIT | -1 | <size> | |
| MAX_EXEC_TIME | 600 | <seconds> |
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 .envand placeDISPLAY_ERRORS=Offin the file