Adding your own "php.ini" needs to be documented
🌎 URL
https://release-v3-0.docker-php.pages.dev/docs/guide/changing-common-php-settings
⚡️ Reported By
Jay Rogers
🔎 More details
Browser: Firefox 120 (120.0)
Screen Resolution: 834x1194
Viewport Dimensions: 1302x1280
Hi @jaydrogers, it would be nice to have a php.ini file from the official PHP image and not modify it. You can override parameters by adding a file such as $PHP_INI_DIR/etc/conf.d/my-parameters.ini
Thanks for the suggestion on the best practices @pbromb!
I made that change here: https://github.com/serversideup/docker-php/commit/ce326111818a44a616d8b75ae711a02acf93cb2e
I'm working on improving the docs for adding your own PHP ini as well
This has been made available on this PR:
- https://github.com/serversideup/docker-php/pull/311
The specific link to the preview site is here: https://improve-file-permissions.docker-php.pages.dev/docs/customizing-the-image/changing-common-php-settings#setting-your-own-phpini