title: Function mcrypt_get_iv_size() is deprecated in Laravel 4.2 on MAMP running PHP 7.1.0
body: <p>I've just upgraded my MAMP server to run 7.1.0. I'm now getting this error with my Laravel 4.2 installations;</p>
  
  <pre><code>Function mcrypt_get_iv_size() is deprecated 
  </code></pre>
  
  <p>I've tried changing</p>
  
  <pre><code>'cipher' =&gt; MCRYPT_RIJNDAEL_128,
  </code></pre>
  
  <p>to</p>
  
  <pre><code>'cipher' =&gt; 'AES-256-CBC',
  </code></pre>
  
  <p>but to no avail.</p>
  
  <p>Does anyone know how to get around this issue in Laravel 4.2?</p>
  
  <p>Not a duplicate as explained in the comments.</p>