Hits: 595
While trying to share two big Nikon D3 files that each contains over 6MB size just now, I have encountered a problem in WordPress. Not really a wordpress problem but this is the message I received:
wordpress The uploaded file exceeds the upload_max_filesize directive in php.ini.
I tried several times, but still couldn’t get the files uploaded. Did a search via Google and linked to WordPress site, with suggestion of adding the following commands to php.ini file.
upload_max_filesize = 10M
post_max_size = 10M
I tried locating my php.ini file but not avail. Manually created a php.ini file and save it to my public_html folder but still can’t do, same error at WordPress.
So, I tried my WebHostManager (I owned a dedicated server with full access to it). Viola! I found the dummy windows style of editing the php.ini file via WHM! Here’s the screenshot of it:
Default was 2MB maximum file size upload allow, and now I have changed it to 50MB. 🙂
Problem solved.
Thanks for posting the screen shot of how to find the php.ini! I had spent about an hour looking for it when I came across your website. Much appreciated.
Hi Liam Dempsey,
You are most welcome. Glad that my blog can be of useful to someone. 🙂
I OWE YOU A VERY LARGE AMOUNT OF BEER!!!
THANK YOU – THANK YOU – THANK YOU – THANK YOU – THANK YOU – THANK YOU – THANK YOU – THANK YOU
By the way, my problem was that I set the server to 256 (missing off the “MB” at the end.
My max upload was therefore 256 bytes – LOL!!!
Thanks again!
Hi, Glad that this article is useful to you. 🙂
This helped me a lot too. Thanks!
Outstanding! That is All!
Glad that this post / blog has been useful to some. 🙂
Thank you for constantly updated, always a pleasure to read.
if i have root access, i usually edit php.ini by console, because i didn’t know that it actually can be edited from whm, thanks mate.
Thanks man that was lovely.. It worked.. Though it was for my local installation but the idea of checking my phpmyadmin helped me.. 🙂
Have you ever regarded as adding far more videos for your weblog posts to keep the readers far more entertained? I necessarily mean I just read via the total article of yours and it was rather excellent but considering that I am additional of a visual learner,I found that to be a lot more helpful. Just my my thought, Good luck
Hi hoot,
I don’t do video myself, and if just adding video of others, I don’t see the purpose.
The blog is more of my own diary, it is for myself, not exist for others.