Feb 25, 2013

Increase Max Upload File Size in WordPress (el bueno)

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 = 64M

upload_max_filesize = 64M

post_max_size = 64M

file_uploads = On


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

SOURCE

No comments: