Answers for "upload_max_filesize in wordpress"

PHP
2

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.
  
/*
I hope it will help you.
Namaste
Stay Home Stay Safe
*/
Posted by: Guest on May-30-2020
0

upload_max_filesize in wordpress

@ini_set('upload_max_size' , '128M' );
Posted by: Guest on February-05-2021

Code answers related to "upload_max_filesize in wordpress"

Browse Popular Code Answers by Language