Ubuntu Install Laravel Mcrypt Error


Saat instalasi Laravel di koding.com / ubuntu saya sering alami error ini :

yoesoff: /var/www $ composer create-project laravel/laravel Larav –prefer-dist
Installing laravel/laravel (v5.0.22)
  – Installing laravel/laravel (v5.0.22)
    Loading from cache
Created project in Larav
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
  Problem 1
    – Installation request for laravel/framework v5.0.16 -> satisfiable by laravel/framework[v5.0.16].
    – laravel/framework v5.0.16 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system.
cara memperbaikinya / how to fix it :
  • sudo apt-get install php5-mcrypt
  • sudo php5enmod mcrypt

Nah sekarang Mcrypt sudah installed dan enable .

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s