11. Update .htaccess file
2
3 php_value upload_max_filesize 128M
4 php_value post_max_size 128M
5 php_value memory_limit 256M
6 php_value max_execution_time 300
7 php_value max_input_time 300
8
9Change the numbers to the values that you need. The max execution time and max
10input time values are in seconds and might need to be increased further if
11your internet connection is slow.
12
132. Update wp-config.php file
14
15 @ini_set( 'upload_max_filesize' , '128M' );
16 @ini_set( 'post_max_size', '128M');
17 @ini_set( 'memory_limit', '256M' );
18 @ini_set( 'max_execution_time', '300' );
19 @ini_set( 'max_input_time', '300' );
20
21reference :
22https://help.servmask.com/2018/10/27/how-to-increase-maximum-upload-file-size-in-wordpress/
1php_value upload_max_filesize 64M
2php_value post_max_size 64M
3php_value max_execution_time 300
4php_value max_input_time 300
5
1// Increase Maximum Upload File Size
2@ini_set( 'upload_max_filesize' , '128M' ); //set this to a value > than your backup
3@ini_set( 'post_max_size', '128M'); //set this to a value > than your backup
4@ini_set( 'memory_limit', '256M' ); //set this to a value > than your backup
5@ini_set( 'max_execution_time', '300' ); //set this to 0 (infinite)
6@ini_set( 'max_input_time', '300' );
1php_value upload_max_filesize 64M
2php_value post_max_size 64M
3php_value max_execution_time 300
4php_value max_input_time 300