OSX El Capitan local install Maximum upload file size: 2 MB But php.ini set to 64M

Most likely, there are two php.ini files, one for the local server and one for the site. You can change the site’s upload_max_filesize to whatever you want, if the server’s php-settings say it’s 2 MB, that’s it.

So, find the php.ini file of your server install and change the value. Then reboot.