I have modified the PHP_INI and without noticing I entered the letters 'MB' instead of 'M' for megabytes which was the reason why this was messing up my Wordpress upload.
I am posting here just in case someone has the same issue