Installing ionCube Loader 5.3 on MAMP in 2 minutes.
Today I needed to install ionCube 5.3 to run WHMCS locally and it was surprisingly easy :)
- Download ionCube from http://www.ioncube.com/loaders.php
- Copy the whole ioncube folder to
 /Applications/MAMP/bin/php/php5.3/lib/php/extensions/ 
- Open /Applications/MAMP/conf/php5.3/php.ini
- Add this line somewhere around line 1088 
 zend_extension="/Applications/MAMP/bin/php/php5.3/lib/php/extensions/ ioncube/ioncube_loader_dar_5.3.so" 
- Restart Apache.
Done.