I'm getting the above error in my development environment when i try to upload an image. I have followed other answers here by doing the following
- Setting the upload_max_filesize and post_max_size
- Restart wamp server
- Shutdown system and restarted the system
but i still can't get past the error. Am I doing anything wrong? Below is the relevant section from my php.ini file
; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 100M
; Maximum number of files that can be uploaded via a single request
max_file_uploads = 20
; Maximum size of POST data that PHP will accept.
; Its value may be 0 to disable the limit. It is ignored if POST data reading
; is disabled through enable_post_data_reading.
; http://php.net/post-max-size
post_max_size = 125M