I am trying to create a laravel project with this:
Nicoles-MacBook-Pro:htdocs nicolekajatt$ composer create-project laravel/laravel guia-telefonica
And i am getting this:
Mcrypt PHP extension required. Script php artisan clear-compiled handling the post-install-cmd event returned with an error [RuntimeException] Error Output: create-project [-s|--stability="..."] [--prefer-source] [--prefer-dist] [--repository-url="..."] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--keep-vcs] [--no-install] [package] [directory] [version]
I have tried this tutorial to fix this but the problem stills http://laravel.io/forum/02-08-2014-difficulty-installing-laravel-getting-error-mcrypt-php-extension-required?page=1
What can i do? Thanks for the help
Following steps were helpful for me on Ubuntu:
Install php5-mcrypt using:
apt-get install php5-mcrypt
Activate mcrypt extension:
php5enmod mcrypt
Make sure it is loaded:
php -i | grep mcrypt
you should see mcrypt support => enabled
if it is activated.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With