Set the default php.ini (prod or dev)
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- docker, docker-compose, php
- Domain
- devops, infrastructure
Research direction
Review the image build files and documentation, then compare the available php.ini-production and php.ini-development files under $PHP_INI_DIR. Resolve whether production or development should be the default, verify the resulting image configuration, and document optional host exposure through Docker Compose configs if that remains in scope.
Written by the indexing model from the issue text.
Description
Default php.ini is not set?
From https://hub.docker.com/_/php
This image ships with the default php.ini-development and php.ini-production configuration files.
It is strongly recommended to use the production config for images used in production environments!
The default config can be customized by copying configuration files into the $PHP_INI_DIR/conf.d/ directory.
ExampleFROM php:8.2-fpm-alpine
Use the default production configuration
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
The doc may also explain how php.ini be optionally exposed in the host using https://docs.docker.com/compose/compose-file/08-configs/
- Dominant language
- Shell
- Stars
- 291
- Forks
- 199
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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 docker-library/drupal
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
docker-library/drupal#270 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
docker-library/drupal#264 · 14 comments · 4 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
docker-library/drupal#263 · 23 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
docker-library/drupal#230 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
docker-library/drupal#227 · 1 comment ·
All issues in docker-library/drupal
Similar issues
-
CI tracking issue
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
zhuima/awesome-cloudflare#237 ·
-
omarchy display text size scales the Ghostty font two timesPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
community-scripts/ProxmoxVE#17674 ·
Maintainers usually reply within 1 day
-
incomplete
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
opnsense/plugins#5763 · 1 comment ·
Maintainers usually reply within 1 day