From 13778b53bd79b78bc3364717503aac46620cf8d1 Mon Sep 17 00:00:00 2001 From: Basil Hendroff <63370329+basilhendroff@users.noreply.github.com> Date: Sat, 2 Jan 2021 15:53:21 +0800 Subject: [PATCH 1/2] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 81b5905..81d0dec 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,17 @@ TIME_ZONE="Australia/Perth" JAIL_NAME="site1" WP_ROOT="/apps/wordpress/site1" ``` +Several `php.ini` parameters have been set to sensible values and 'hard-coded' into the script. You will find these at the beginning of the script. If you wish, these can be modified prior to running the script. + +``` +# php.ini +UPLOAD_MAX_FILESIZE="32M" # default=2M +POST_MAX_SIZE="48M" # default=8M +MEMORY_LIMIT="256M" # default=128M +MAX_EXECUTION_TIME=600 # default=30 seconds +MAX_INPUT_VARS=3000 # default=1000 +MAX_INPUT_TIME=1000 # default=60 seconds +``` ### Execution Once you've downloaded the script and prepared the configuration file, run this script `script wordpress.log ./wordpress-jail.sh`. The script will run for several minutes. When it finishes, your jail will be created, and WordPress will be installed with all its dependencies. Next, complete the post-installation tasks. From f89416739590aa2852bd4f8018bc4de4d27a7627 Mon Sep 17 00:00:00 2001 From: Basil Hendroff <63370329+basilhendroff@users.noreply.github.com> Date: Sat, 2 Jan 2021 15:54:49 +0800 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 81d0dec..68932f8 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ TIME_ZONE="Australia/Perth" JAIL_NAME="site1" WP_ROOT="/apps/wordpress/site1" ``` -Several `php.ini` parameters have been set to sensible values and 'hard-coded' into the script. You will find these at the beginning of the script. If you wish, these can be modified prior to running the script. +Several `php.ini` configuration parameters have been set to sensible values and 'hard-coded' into the script. You will find these in the initialisation section at the beginning of the script. If you wish, these can be modified prior to running the script. ``` # php.ini