After updating to Yosemite there were a lot of changes including php and mysql versions.
I copied php.ini.default to php.ini.
Although I changed max_upload_size value
(to 50M) in /etc/php.ini
file, the max upload size in phpMyAdmin has not been changed.
Yes, I did not forget to restart apache.