I set in php.ini
upload_max_filesize = 64M
post_max_size = 64M
Then try .htaccess file
php_value upload_max_filesize 64M
php_value post_max_size 64M
And in wp-config.php define('WP_MEMORY_LIMIT', '64M');
But nothing helps me. The max upload size left 32px;
How can I increase max file upload in WordPress?
Earlier adding
define('WP_MEMORY_LIMIT', '64M');
just after<?php
on wp-config.php always worked for me. For the latest wordpress version it isn’t working. I don’t know the actual reason behind it but it still works for my older wordpress sites which I never updated from last year.Follow these steps for latest WordPress:
1) Put this at the end of your php.ini
2) Restart apache(Setting won’t take effect until apache is restarted)
Tested and working.
You can try in PHP :
But be careful, with some of server supplier you cannot change this limit…
I tried different way like attempted to
but none of these changes worked for me. Then I came across a post somewhere That I summarised in a blog post(find below)
here is a link if you want to know more http://ecarobar.com/increase-max-upload-file-size-in-wordpress/