Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
basilhendroff committed Jan 2, 2021
1 parent 3c5e9ab commit 13778b5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 13778b5

Please sign in to comment.