WordPress Upload Size

Drafting some new posts that included images from a DLSR camera.  The uploaded images resulted in the default WordPress upload size be maxed out.  Not hard to do, the default was set at 2MB.

When uploading into WordPress via your browser, you will see the window below.  Notice the size limitation in the bottom line.

Wordpress Upload Size

To update the size limitation, modify the variables within your php.ini file shown below.  The default values are shown.  Both values must be updated to the desired size.  For an Ubuntu system, php.ini is under /etc/php5/apache2/php.ini.

upload_max_filesize = 2M
post_max_size = 8M

With the variables set to the desired amount, restart your apache2 service.

sudo service apache2 restart

 

Leave a Reply

Your email address will not be published. Required fields are marked *