As the title states i have tried it with the htaccess file to change the maximum upload size and nothing i have even created a php.ini file in the root of the wordpress folder and still nothing can some here please help me.
closed as off-topic by Jacob Peattie, Mark Kaplun, bosco, Pat J, fuxia♦ Oct 6 at 20:53
This question appears to be off-topic. The users who voted to close gave these specific reasons:
- "Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?" – Mark Kaplun, Pat J, fuxia
- "Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third party plugins and themes are off topic, they are better asked about at their developers' support routes." – Jacob Peattie, bosco
php.ini should be in the /wp-admin/ folder, not the root. Also, I've had success using a combination of the following in my /wp-admin/php.ini file AND a directive to increase the memory in my wp-config.php file, increased memory is needed when uploading larger files.
Put something like this in your php.ini file (change values as you need to):
memory=512MB post_max_size=20MB upload_max_filesize=50MB
Then in your wp-config.php file, add something like this:
The upper memory limit doesn't need to be the same in both, but I find it works best when it is the same.