Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Chore: Bump Docker demo environment PHP file upload size limit to 8MB

Open Beginner friendly
#89 0 comments 0 reactions 0 assignees View on GitHub

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

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
  1. Add docker-demo/uploads.ini configuring PHP upload directives:
    • upload_max_filesize = 8M
    • post_max_size = 8M
  2. Mount uploads.ini into both the wp (Apache/PHP) and init (CLI) container services in docker-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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Automattic/php-toolkit

All issues in Automattic/php-toolkit

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.