docker icon indicating copy to clipboard operation
docker copied to clipboard

Document how to customize PHP configuration (beyond supported environment variables)

Open joshtrichards opened this issue 9 months ago • 0 comments

i.e. mounting/overriding/adding to /usr/local/etc/php/conf.d

  • mention loading order / priority of files
  • (Compose) the override via volumes approach
  • (Dockerfile/building) - upstream: https://github.com/docker-library/docs/tree/master/php#configuration
  • etc

joshtrichards avatar Mar 07 '25 15:03 joshtrichards

It seems there are more than a few image users that override /usr/local/etc/php entirely; this is a problem since image changes are also located there (i.e. see recent igbinary matter in #2509 + forums/etc).

We should probably document how to add individual files in there/etc so that people aren't overriding the image's config.

joshtrichards avatar Dec 15 '25 22:12 joshtrichards