Faced with this problem, my project does not want to ship files more than 2 MB, if validation of form comes the error "File 'img' exceeds the defined ini size". Searching the Internet led to just one solution to add the line
addValidator('Size', false, 5000000)
field to download the file, but it did not solved the problem.