Chore: Bump Docker demo environment PHP file upload size limit to 8MB
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 84/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- docker, docker-compose, php
- Domain
- devops, infrastructure
Research direction
Start with docker-compose.yml and inspect the existing wp and init services, then review the proposed docker-demo/uploads.ini configuration. Mount the file into both services with the two specified PHP directives, and verify that the Docker demo permits uploads up to 8MB without PHP upload errors.
Written by the indexing model from the issue text.
Description
Summary
In the local Docker demo environment, media uploads (images, WXR import files, themes...) larger than PHP's 2MB default were failing. Bumping upload_max_filesize and post_max_size to 8MB permits testing realistic media assets without modifying memory limits.
Proposed Solution
- Add
docker-demo/uploads.iniconfiguring PHP upload directives:upload_max_filesize = 8Mpost_max_size = 8M
- Mount
uploads.iniinto both thewp(Apache/PHP) andinit(CLI) container services indocker-compose.yml
Acceptance Criteria
- Docker demo permits file uploads up to the configured limit without PHP upload errors.
- Dominant language
- PHP
- Stars
- 22
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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 Automattic/php-toolkit
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
Automattic/php-toolkit#102 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 76/100
Automattic/php-toolkit#95 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Automattic/php-toolkit#91 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Automattic/php-toolkit#88 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Automattic/php-toolkit#87 ·
All issues in Automattic/php-toolkit
Similar issues
-
tooling
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
UX
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
ProfessionalWiki/NeoWiki#1525 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
OpenConext/OpenConext-engineblock#2122 ·
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Automattic/safe-publish#594 ·