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. 🙂