If you are reading this articles regarding maximum upload file size, no doubt sometimes you have run into an issue uploading files to your WordPress site & are looking for a quick fix. there are many kind of issue, some times low file upload size limit can stop you from uploading files in media uploader, or install plugins and upload themes in theme directory. In this article, we will show you how to quickly increase the maximum file upload size in WordPress and to things work properly.
Here are 4 ways that you can choose to increase and fix the maximum upload file size in WordPress.
1. Place Code on wp-config.php file
@ini_set( 'max_execution_time', '300' );
@ini_set( 'memory_limit', '512M' );
@ini_set( 'post_max_size', '512M');
@ini_set( 'upload_max_filesize' , '512M' );
@ini_set( 'max_input_time', '600' );
2. Place Code on Update .htaccess file
php_value upload_max_filesize 512M
php_value memory_limit 512M
php_value max_execution_time 900
php_value post_max_size 512M
php_value max_input_time 900
Change the numbers to whatever you want but it should be high. Maximum execution time & max input time values are in seconds and might need to be increased further if your internet connection is slow and down.
3. Contact hosting provider
If you are still having trouble with and size limits and uploading files, one of the quickest solutions is to contact to your host and ask for help. Almost all of the hosting companies have chat support which can help you out quickly in these situations. Increasing an upload limit is a trivial task for a technical support person, and they should be able to do it quickly within minute.
If you are a Kinsta client, the technical support team is always available with one click on the bottom right side of the dashboard and available 24/7 if you need help further.
4. Install plugin
Not everyone is a developer of writing code or accessing root files using SSH or FTP. In this situation, the plugin comes in handy and luckily there is a WordPress plugin, you can easily install it for increasing WordPress upload size.