MAMP Pro on Mac OS 10.10 Yosemite

MAMP Pro (2.2) has a problem with starting apache. You get an error in the crash log like:

Symbol not found: _iconv
 Referenced from: /usr/lib/libmecabra.dylib
 Expected in: /Applications/MAMP/*/libiconv.2.dylib
 in /usr/lib/libmecabra.dylib

To fix the problem. Have MAMP Pro use the envvars from the built in apache. So, move the MAMP one out of the way:

mv /Applications/MAMP/bin/apache2/bin/envvars /Applications/MAMP/bin/apache2/bin/_envvars