I was creating my last post, a review of a song by Ian Parks, and I ran into trouble uploading the music file through WordPress. In point of fact I was getting the following error message:
The uploaded file exceeds the upload_max_filesize directive in php.ini.
Locating my ini file wasn’t too much trouble. It’s located in C:WINDOWS. Editing the necessary entry was again very simple. I did a find-in-page for upload_max and changed that line from:
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
to:
; Maximum allowed size for uploaded files.
upload_max_filesize = 10M
I suppose you could change that limit to any size you might find useful. The M is very necessary. If you leave it off I think you will be specifying bytes. I further suppose that K and G would work if that’s more your speed (kilo and giga).
But, there was one more critical step which took me a moment to figure out. I needed to then restart IIS (my Web serving software). After that my uploads worked fine (up to, of course, 10M).
Happy hunting.