Answers for "increase upload size in wordpress"

PHP
2

how-to-increase-maximum-upload-file-size-in-wordpress

1. Update .htaccess file

  php_value upload_max_filesize 128M
  php_value post_max_size 128M
  php_value memory_limit 256M
  php_value max_execution_time 300
  php_value max_input_time 300

Change the numbers to the values that you need. The max execution time and max 
input time values are in seconds and might need to be increased further if 
your internet connection is slow.

2. Update wp-config.php file

  @ini_set( 'upload_max_filesize' , '128M' );
  @ini_set( 'post_max_size', '128M');
  @ini_set( 'memory_limit', '256M' );
  @ini_set( 'max_execution_time', '300' );
  @ini_set( 'max_input_time', '300' );

reference : 
https://help.servmask.com/2018/10/27/how-to-increase-maximum-upload-file-size-in-wordpress/
Posted by: Guest on December-08-2020
0

PHP (WordPress) - Increase Maximum Upload File Size

// Increase Maximum Upload File Size
@ini_set( 'upload_max_filesize' , '128M' ); //set this to a value > than your backup
@ini_set( 'post_max_size', '128M'); //set this to a value > than your backup
@ini_set( 'memory_limit', '256M' ); //set this to a value > than your backup
@ini_set( 'max_execution_time', '300' ); //set this to 0 (infinite)
@ini_set( 'max_input_time', '300' );
Posted by: Guest on August-19-2021
1

increase upload size wordpress

php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300
Posted by: Guest on November-17-2020

Code answers related to "increase upload size in wordpress"

Browse Popular Code Answers by Language