浏览代码

Run update.sh

Docker Library Bot 5 年之前
父节点
当前提交
9417e74389
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      wordpress/README.md

+ 6 - 0
wordpress/README.md

@@ -177,6 +177,12 @@ See [the "Running as an arbitrary user" section of the `php` image documentation
 
 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 `wordpress: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/).
+
+For example, to adjust common `php.ini` flags like `upload_max_filesize`, you could create a `custom.ini` with the desired parameters and place it in the `$PHP_INI_DIR/conf.d/` directory.
+
 # Image Variants
 
 The `wordpress` images come in many flavors, each designed for a specific use case.