title: Mcrypt PHP extension required in Mac OS X El Capitan
body: <p>Getting error <code>Mcrypt PHP extension required.</code> with <code>Laravel</code> in Mac OS X El Capitan.</p>
  
  <p>Already installed the mcrypt using <code>brew</code>.</p>
  
  <pre><code>brew install mcrypt
  brew install homebrew/php/php55-mcrypt
  sudo apachectl restart
  </code></pre>
  
  <p><strong>which php</strong></p>
  
  <pre><code>/usr/local/bin/php
  </code></pre>
  
  <p><strong>php --version</strong></p>
  
  <pre><code>PHP 5.5.30 (cli) (built: Oct  3 2015 23:48:03) 
  Copyright (c) 1997-2015 The PHP Group
  Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
  </code></pre>
  
  <p><strong>php --ini</strong></p>
  
  <pre><code>Configuration File (php.ini) Path: /usr/local/etc/php/5.5
  Loaded Configuration File:         /usr/local/etc/php/5.5/php.ini
  Scan for additional .ini files in: /usr/local/etc/php/5.5/conf.d
  Additional .ini files parsed:      /usr/local/etc/php/5.5/conf.d/ext-mcrypt.ini
  </code></pre>