From cd1b0ff8766d59173f9a801d9f155fbee1cd0f34 Mon Sep 17 00:00:00 2001 From: wglambert Date: Thu, 23 Jul 2020 13:36:01 -0700 Subject: [PATCH] Update content.md --- wordpress/content.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wordpress/content.md b/wordpress/content.md index b8f05a8ee..6e429a866 100644 --- a/wordpress/content.md +++ b/wordpress/content.md @@ -80,3 +80,9 @@ Mount the volume containing your themes or plugins to the proper directory; and See [the "Running as an arbitrary user" section of the `php` image documentation](https://hub.docker.com/_/php/). When running WP-CLI via the `cli` variants of this image, it is important to note that they're based on Alpine, and have a default `USER` of Alpine's `www-data`, whose UID is `82` (compared to the Debian-based WordPress variants whose default effective UID is `33`), so when running `%%IMAGE%%:cli` against an existing Debian-based WordPress install, something like `--user 33:33` is likely going to be necessary (possibly also something like `-e HOME=/tmp` depending on the `wp` command invoked and whether it tries to use `~/.wp-cli`). See [docker-library/wordpress#256](https://github.com/docker-library/wordpress/issues/256) for more discussion around this. + +## Configuring PHP directives + +See [the "Configuration" section of the `php` image documentation](https://hub.docker.com/_/php/). + +Additionally you could create a `custom.ini` with the desired parameters and place it in the `$PHP_INI_DIR/conf.d/` directory.