-4

I'm trying to install laravel framework on ubuntu. It is showing error like

"Mcrypt PHP extension required. Script php artisan clear-compiled handling the post-install-cmd event returned with and  [RuntimeException]  
  Error Output: an error"
Trilarion
  • 9,942
  • 9
  • 61
  • 98
  • possible duplicate of [Laravel requires the Mcrypt PHP extension](http://stackoverflow.com/questions/16830405/laravel-requires-the-mcrypt-php-extension) – Trilarion Oct 07 '14 at 10:49

1 Answers1

1

You need your php to be installed with Mcrypt PHP extension Compile PHP with the --with-mcrypt[=DIR] parameter to enable this extension.

DIR is the mcrypt install directory. more info here

Gowri
  • 1,792
  • 2
  • 25
  • 50
visualex
  • 716
  • 11
  • 17