USharing
开放博客

How to Increase Maximum Upload File Size in WordPress

There are 4 ways that you can choose to increase the 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' );

3. Contact hosting provider

Reach over to the customer support of your hosting provider and ask them to increase these limits for you

4. Use plugin

https://import.wp-migration.com

赞(0) 打赏
未经允许不得转载:USharing » How to Increase Maximum Upload File Size in WordPress

觉得文章有用就打赏一下文章作者

微信扫一扫打赏