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.
KhoKing
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.
Leave a comment