Laravel undefined function openssl_encrypt()
<p>I use laravel5.1 and it works fine on php cli.
But i publish my porject to apache(version == 2.4), the problem happened.</p>

<blockquote>
  <p>FatalErrorException in Encrypter.php line 67:<br>
  Call to undefined function openssl_encrypt()</p>
</blockquote>