I ran into a problem where I tried to use php artisan command when developing Laravel 4. The error message is “Laravel 4 is mCrypt”

Here is the fix.

#MAMP PHP
alias phpize='/Applications/MAMP/bin/php/php5.4.4/bin/phpize'
alias pear='/Applications/MAMP/bin/php/php5.4.4/bin/pear'
alias pecl='/Applications/MAMP/bin/php/php5.4.4/bin/pecl'
alias php='/Applications/MAMP/bin/php/php5.4.4/bin/php'