-1

I am installing Laravel on my local environment (MacBook Pro) using Composer.

I used the following command to install Laravel:

php composer.phar create-project laravel/laravel --prefer-dist

towards to the end of the installation, I noticed some errors like:

Mcrypt PHP extension required.
Script php artisan clear-compiled handling the post-install-cmd event returned with an error



  [RuntimeException]  
  Error Output:       

Screenshot attached here: https://www.dropbox.com/s/nhqq2aecpkd8ynt/Screenshot%202014-06-02%2018.34.24.png

Is it OK to run Laravel or should I need to do something else?

Debiprasad
  • 5,895
  • 16
  • 67
  • 95

2 Answers2

0

You must enable mcrypt. Run phpinfo() to check its status, if it's not enabled, go into php.ini and enable it.

Ben
  • 2,962
  • 2
  • 20
  • 26
0

You need to install mcrypt.

In order to do this, please refer to this question: Laravel requires the Mcrypt PHP extension

Community
  • 1
  • 1
Patrick Reck
  • 11,246
  • 11
  • 53
  • 86
  • I don't need to install Mcrypt, as it's already there. After some steps provided with that answer, I able to run `php artisan` command of Laravel. – Debiprasad Jun 10 '14 at 12:58