Skip to content

Commit

Permalink
Merge pull request #402 from TheLastCicada/patch-1
Browse files Browse the repository at this point in the history
Change max_post_size to post_max_size
  • Loading branch information
chaselivingston authored Oct 26, 2023
2 parents 043925f + 850a49d commit 978f2e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/markdown/Systems.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ The following are settings in the ```php.ini``` file that commonly are adjusted

* **upload_max_filesize**: This will be the largest file size that can be uploaded to WordPress, usually through the media library. While a large value can increase the risk of certain type of flood attacks, these are uncommon and uploading media is a core business requirement of many sites, so it is generally considered safe to increase this as high as needed. When using Nginx, the ```client_max_body_size``` should be set to the same size as ```upload_max_filesize```. Additionally, CDNs such as Cloudflare can have an adjustable upload limit as well. Consider all media types when setting this value as audio and video can be several hundred megabytes.

* **max_post_size**: Needs to be as large or larger than ```upload_max_filesize```. This will be the maximum size of data sent through the POST method.
* **post_max_size**: Needs to be as large or larger than ```upload_max_filesize```. This will be the maximum size of data sent through the POST method.

* **date.timezone**: Set this to the main timezone of the admins of a WordPress site. It doesn’t much matter what this is set to, but some functions will work better when this value is set.

Expand Down

0 comments on commit 978f2e5

Please sign in to comment.