wordpress upload limit increase code example

Example 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

Example 2: htaccess increase upload size

@ini_set( 'upload_max_size' , '64M' );
@ini_set( 'post_max_size', '64M');
@ini_set( 'max_execution_time', '300' );

Example 3: htaccess increase upload size

upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300

Example 4: increase wordpress upload limit

php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300

Tags:

Misc Example