Skip to content

Commit

Permalink
Add documentation to README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
  • Loading branch information
phracek committed May 22, 2023
1 parent c147b28 commit 70decf4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 8.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,10 @@ You can also override the entire directory used to load the PHP configuration by
* **PHP_INI_SCAN_DIR**
* Path to scan for additional ini configuration files

You can also override PHP configuration for FPM workers:
* **PHP_CLEAR_ENV**
* Sets to clear environment in FPM workers. See [FPM_CONFIGURATION](https://www.php.net/manual/en/install.fpm.configuration.php).

You can override the Apache [MPM prefork](https://httpd.apache.org/docs/2.4/mod/mpm_common.html)
settings to increase the performance for of the PHP application. In case you set
some Cgroup limits, the image will attempt to automatically set the
Expand Down
4 changes: 4 additions & 0 deletions 8.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,10 @@ You can also override the entire directory used to load the PHP configuration by
* **PHP_INI_SCAN_DIR**
* Path to scan for additional ini configuration files

You can also override PHP configuration for FPM workers:
* **PHP_CLEAR_ENV**
* Sets to clear environment in FPM workers. See [FPM_CONFIGURATION](https://www.php.net/manual/en/install.fpm.configuration.php).

You can override the Apache [MPM prefork](https://httpd.apache.org/docs/2.4/mod/mpm_common.html)
settings to increase the performance for of the PHP application. In case you set
some Cgroup limits, the image will attempt to automatically set the
Expand Down
1 change: 1 addition & 0 deletions test/run
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ test_clear_env_setup() {
info "Checking if clear_env = yes is set in /etc/php-fpm.d/www.conf file."
docker run --rm "${IMAGE_NAME}-testapp" /bin/bash -c "${run_cmd}"
}

test_clear_env() {
CLEAR_ENV=true test_application
}
Expand Down

0 comments on commit 70decf4

Please sign in to comment.