top of page
  • Jeff Madlock

Change Max File Upload Size in WordPress

We ran into an issue where we needed to be able to upload large files to our site. After much searching around, we found tips for modifying certain .ini files (namely, php.ini) but those only crashed our site. Eventually, we stumbled on a fix that did work and thought we would share that here:

You will have to access your site using cPanel or something similar in order to be able to create/edit system files. Alternately, you can create the file on your computer and ftp it to your site.

First, navigate to your wp_admin folder.

Next, CREATE a new file called “.user.ini” – NOTE: There is a leading “.” there!

Inside the file, put only these two lines:

  1. upload_max_filesize = 100M

  2. post_max_size = 100M

Change the “100M” to whatever size you want/need, noting that this number cannot exceed your provider’s single file upload size limit (if there is one with your host).

Finally, save the file.

NOTE: If you created the text file on your computer, be sure you upload it (ftp) to your wp_admin folder.

0 views0 comments

Recent Posts

See All

Whether you’re creating/presenting professional development for your school or district, hosting a podcast, creating YouTube videos for students and teachers, keynoting a national conference, or doing

Summertime with Google Classroom 5 ways to bring summertime learning and fun to your students [/et_pb_text][/et_pb_column][et_pb_column type=”1_3″ _builder_version=”3.22.7″][et_pb_image src=”http://ww

[et_pb_section bb_built=”1″][et_pb_row][et_pb_column type=”3_5″][et_pb_text _builder_version=”3.17.6″] It’s almost here!  Christmas! We’re kidding, that’s not the only thing that is close.  So is the

bottom of page