I install laravel by running:
laravel new testing
And it responds with:
Application ready! Build something amazing.
Yet when I visit public/index.php, it presents an empty page that says:
Mcrypt PHP extension required.
When I run php -m it does not list Mcrypt.
I tried installing it with composer, by running:
composer create-project laravel/laravel laravel_composer --prefer-dist
And it resulted with the following:
Writing lock file
Generating autoload files
Mcrypt PHP extension required.
Script php artisan clear-compiled handling the post-install-cmd event returned with an error
[RuntimeException]
Error Output:
There is nothing additional after "Error Output:"
phpsymlink to the php binary found in your MAMP installation. This is by far the easiest solution. You can also call the php binary directly, e.g./Applications/MAMP/bin/php/php5.4.10/bin/php script.php