How to Increase the Maximum Upload File Size in WordPress

Most of the time WordPress Default maximum upload file size 2 MB ,which is not enough for media files like (audio / video or a high quality pictures . in the post i will show you How to increase the maximum upload file size in WordPress.

Method 1 : via php.ini

If you have to access php.ini then you can easily set the limit . please login your cpanel then go to file manager and find php.ini then Edit the the following limitation :

upload_max_filesize = 64M

post_max_size = 64M

max_execution_time = 300

Method 2 : via php.ini (create file)

Create a file with the name ‘php.ini’ in the directory where your WordPress site is installed & add the command :

upload_max_filesize = 64M

post_max_size = 64M

max_execution_time = 300

Method 3 : via .htaccess

You can increase the maximum upload size in WordPress. Open or create the .htaccess file in the root folder and add the following code:

php_value upload_max_filesize 64M

php_value post_max_size 64M

php_value max_execution_time 300

php_value max_input_time 300

Method 4 : Contact your Hosting provider

You may contact your web hosting provider , they should increase your php memory limit .

Note : Don’t try to implement all the 4 methods at the same time.

  • 101 Users Found This Useful
Was this answer helpful?

Related Articles

How to Speed up Your WordPress Website in a Few Simple Steps

With a large number of users opting for WordPress when designing a website due to its simplicity...

Powered by WHMCompleteSolution