File Upload Size For WordPress is Too Small


I’m wondering if it is possible to change a setting in the theme options somewhere that will allow me to upload a file that is larger than 2MB. Possible?



This is not possible to be configured via theme or WordPress dashboard this is limited by your hosting provider.

You should get in touch with your hosting provided and ask to edit PHP.ini file to increase file upload size. It might be possible to be done by yourself but then you should check that in hosting providers documentation.

These are the values that you need to change in your PHP.ini file.

upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300

There might be some other alternatives such as changing upload limit via .htaccess file or other but hosting provider will be able to provide more information on that.

You will find how increase this on your php.ini file.

If you have one, will be under public_html directory. Look for the line above and change the values.

upload_max_filesize = 15M

post_max_size = 15M

If you don’t have, you should create a file under public_html and name it php.ini. Put the following in it:

upload_max_filesize = 15M

post_max_size = 15M

Also if you are working on a multisite instalation, you should check in “Settings - Network Settings - Upload Max Size”.

That worked. Thanks!