upload_max_filesize wordpress config code example
Example: The uploaded file exceeds the upload_max_filesize directive in php.ini.
Open the php.ini file
Locate the following line:
upload_max_filesize = 100M
Replace 100M with a higher value in megabytes. (256 MB for example)
This file allows you to configure other settings as well:
memory_limit 256M – Sets the max amount of memory a script can use.
post_max_size 32M – Sets the max size for the total of the POST body data.
max_execution_time 600 – Max time, in seconds, that a script is allowed to run.
max_input_time 900 – Max time, in seconds, that a script is allowed to parse input data.
Save the file and exit.