Add environment var to set `apc.shm_size` php config
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 70/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Domain
- devops, infrastructure
Research direction
Start by tracing the existing PHP_UPLOAD_LIMIT environment-variable handling in the Docker image and identify where PHP configuration values are generated. Add equivalent handling for PHP_APC_SHM_SIZE so it controls apc.shm_size, then verify the resulting PHP configuration inside a container.
Written by the indexing model from the issue text.
Description
When I got the warning that the apc.shm_size is almost full It took me a long time to figure out how to cleanly fix it in docker and where the config PHP is stored.
It feels a bit odd to me that a setting that the docs recommend to change requires me to figure out where the PHP config dir is and add a file to it.
I would suggest adding a PHP_APC_SHM_SIZE environment variable similar to PHP_UPLOAD_LIMIT.
- Dominant language
- Shell
- Stars
- 7.4k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nextcloud/docker
-
1. To develop bug feature: cron image
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug docs
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
0. Needs triage bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Imagick architecture mismatch (x86_64 vs aarch64) on official arm64 image causes Apache segfaultsOpen0. Needs triage bug
Difficulty 4/5 3-5 days Newbie friendliness 50/100
-
0. Needs triage bug
Difficulty 3/5 1-2 days Newbie friendliness 58/100
All issues in nextcloud/docker
Similar issues
-
Remove `git-lfs`Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
jenkins-infra/packer-images#3114 ·
Maintainers usually reply within 1 day
-
[bug] Setup fails with "Cannot find matching keyid" when an older Node's corepack is on PATHPossibly taken @EyalPoly claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
idean3885/claude-ops-agent#633 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
void-linux/void-runit#141 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100