increase 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: increase the 'post_max_size'

# php.ini

memory_limit=2048M
post_max_size=512M
upload_max_filesize=512M

Example 3: 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 4: htaccess increase upload size

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

Tags:

Misc Example