Support the ongoing development of Laravel.io →
Installation Configuration

hello, I installed laravel in my new pc and i'm getting this error:

ErrorException mcrypt_get_iv_size(): Module initialization failed

I copied the project from my old pc. mcrypt is installed and enabled, and other pages that do not use laravel are working. I'm running ubuntu 14.04

I created a new laravel project (using laravel new command) and when i try to access i get: "Whoops, looks like something went wrong." I opened the log and the error is: [2014-05-30 19:46:07] production.ERROR: exception 'ErrorException' with message 'mcrypt_get_iv_size(): Module initialization

any ideas?

thanks in advance!

Last updated 3 years ago.
0

I have the same problem. you have to add

'cipher' => MCRYPT_RIJNDAEL_256,

to app/config/app.php

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

wassano wassano Joined 30 May 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.