title: How to solve composer problem - laravel/framework [..] requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system
body: <p>I did copy a laravel project from External server to my local server when I tried to type composer install it showed the folowing error</p>
  
  <blockquote>
    <p>Problem 1 - laravel/framework v5.0.16 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system. - laravel/framework v5.0.16 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system. - Installation request for laravel/framework v5.0.16 -> satisfiable by laravel/framework[v5.0.16].</p>
  </blockquote>
  
  <p>I have windows 10 system, and it's an old project so I installed the php 5 with xampp</p>
  
  <p>I tried to add <code>extension=php_mcrypt.so</code> but it didn't work </p>
  
  <p>I added a dll file in system32 also but didn't work </p>
  
  <p>and <code>php.ini</code> look like this </p>
  
  <pre><code>[mcrypt]
  ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
  
  ; Directory where to load mcrypt algorithms
  ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
  ;mcrypt.algorithms_dir=
  
  ; Directory where to load mcrypt modes
  ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
  ;mcrypt.modes_dir=
  </code></pre>