Increase Max Upload File Size in WordPress

Posted In Web Development - By On Tuesday, January 17th, 2012 With 0 Comments

Sometimes, you need to upload a large file to your site, and the default 8mb limit in WordPress isn’t enough. I attempted to change my limit directly on my server, then in the .htaccess file and then in wp-config.php but neither change worked for me. Then I came across this little snippet by Word Impressed which actually worked and allowed me to increase my max upload file size limit.

All you need to do is create a php.ini file and upload it into your /wp-admin folder. Then add the following:

memory_limit = 32M

upload_max_filesize = 32M

post_max_size = 32M

file_uploads = On

You can change 32m to whatever max file size you want.

Increase Max Upload File Size in WordPress

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>