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/