wp-content » plugins » ✅ How to Increase Maximum Upload File Size in WordPress [SOLVED]

✅ How to Increase Maximum Upload File Size in WordPress [SOLVED]

Here is How to Increase Maximum Upload File Size in WordPress:

Change the numbers to the values that you need:

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

Open up your wp-config.php file and add the following code inside:

@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' );

NOTE: To ensure that file uploads work correctly, the post_max_size directive should be a little larger than the upload_max_filesize.

upload_max_filesize = 16M
post_max_size = 32M

Increase upload file size limit to any value with one click.

See also  How to access WordPress using temporary server URL

The plugin automatically detects upload limits set by WordPress and by the server/hosting provider, and displays them.

Nothing from the above solutions works? Contact your hosting provider and ask them to increase these limits for you.

Was this post helpful?

Leave a Comment

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.

Recommended