PHP-Parameter ändern
In a Docker installation, the PHP parameters are set in the EGroupware container.
However, set parameters can also be modified via a configuration file and are transferred to the PHP configuration within the container when the container is started.
The parameters are written to the
/etc/egroupware-docker/docker-compose.override.yml
file.
There are (as of 21.1.20210923) the PHP parameters
- session.gc_maxlifetime
- apc.shm_size
- memory_limit
- max_execution_time
are available for configuration.
The parameters are chosen usefully in the standard:
#- EGW_SESSION_TIMEOUT=14000
#- EGW_APC_SHM_SIZE=128M
#- EGW_MEMORY_LIMIT=128M
#- EGW_MAX_EXECUTION_TIME=90
The parameters can now be adjusted here according to your own needs by removing the comment sign and changing the value. Otherwise, the standard values listed here apply.
The values become active after a new container is created:
cd /etc/egroupware-docker
docker-compose stop egroupware
docker-compose up -d
Increasing the memory values causes a higher demand on resources. The values should only be increased if there is a real need.
The parameters are to be checked in EGroupware with PHP-Info:
Admin/Admin/PHP-Informationen
Further information on this can be found in the Wiki:
Tuning EGroupware for higher number of users
For questions, suggestions, etc. please, as always, create a separate topic in the forum and refer to this article.