Zend file upload error - Exceeds the defined ini size

This error can occur due to the following reasons.
       1. Your upload image size is greater than the maximum upload size.
       2. You have not set the attribute enctype=multipart/form-data in the form tag.