post_max_size wordpress code example
Example 1: htaccess increase upload size
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