magento / magento/magento-cloud-docker
php-fpm UPLOAD_MAX_FILESIZE environment variable is unused.
Open
Progress: ready for grooming
- Dominant language
- PHP
- Stars
- 277
- Forks
- 187
- PR merge metrics
- No merged PRs in 30d
Description
The variable is created in the Dockerfile, see:
https://github.com/magento/magento-cloud-docker/blob/develop/images/php/8.3-fpm/Dockerfile#L21
But it's nowhere to be found in the actual config files. In fact, upload_max_filesize is actually the default 2MB when looking at the phpinfo() output.
Contributor guide
Research direction
Start at images/php/8.3-fpm/Dockerfile line 21 and inspect the PHP configuration included in that image. Verify upload_max_filesize with phpinfo() and trace how UPLOAD_MAX_FILESIZE is expected to reach it. Done when the environment variable controls the setting rather than the default 2MB.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, php
- Domain
- backend, devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100