Created
May 16, 2022 10:56
-
-
Save majeedraza1/2e4ab0fb516d0147b18f5605aa2331f5 to your computer and use it in GitHub Desktop.
PHP configuration for a WordPress site.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; the maximum time in seconds a script is allowed to run before it is terminated by the parser | |
max_execution_time = 300 | |
; the maximum amount of memory in bytes that a script is allowed to allocate. | |
; Suggested: 256 MB or greater | |
memory_limit = 128M | |
; How many input variables may be accepted | |
max_input_vars = 4000 | |
; Sets max size of post data allowed. To upload large files, this value must be larger than upload_max_filesize. | |
post_max_size = 64M | |
; The maximum size of an uploaded file. post_max_size must be larger than this value. | |
upload_max_filesize = 32M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you are using Nginx server, you also need to increase client_max_body_size
# set client body size
client_max_body_size 32M;