matomo-org/docker

Allow increasing PHP's limits

djmaze opened this issue · 6 comments

We are seeing fatal errors such as the following when querying longer time ranges:

Allowed memory size of 16777216 bytes exhausted

There should be a way to increase the PHP memory limit in the container, as described in the FAQ.

Addendum: It should be possible to increase / disable the max_execution_time as well.

J0WI commented

It is possible, but we are using the default values:
docker-library/wordpress#10 (comment)

tholu commented

@J0WI Not sure why you closed this issue, as this is unsolved and a problem for larger sites deployed via Docker.

J0WI commented

Would you like to provide a patch similar to nextcloud/docker#1379?

i just had the same issue.
is there any persistent way in changing the limits?
my only workaround is changing the settings inside the running container and do a "service apache2 reload"

Seems this has been implemented quite some ago in #258.

Strangely, this information is missing in the official docker hub description: https://hub.docker.com/_/matomo