Support the ongoing development of Laravel.io →
Installation
Last updated 1 year ago.
0

How are you checking the setting? In the .ini file or did you set up a phpinfo(); page?

If you haven't tried phpinfo(); I would check that and see what it says.

Last updated 1 year ago.
0

I checked it with a phpinfo-page and it says that mcrypt is enabled

Last updated 1 year ago.
0

Not really an answer but I'd suggest you check out Homestead. It's environment built specifically for Laravel and easy to learn. It will save you A LOT of time / hair pulling.

Last updated 1 year ago.
0

Are you sure it is saying it is enabled, or that PHP was built with mcrypt enabled? There is a big difference.

Last updated 1 year ago.
0

To enable mcrypt: $ sudo php5enmod mcrypt

Last updated 1 year ago.
0

Sometimes the CLI version of php will use a a different php.ini than apache. Check in the php folder and make sure that the php.ini file in that folder has it enabled.

Wamp is this way as well with two php.ini files.

Last updated 1 year ago.
0

Yes, it says the mcrypt is enabled.

The command sudo php5enmod crypt did not work. It says command not found.

Well, where is the php folder? I have a php.ini in the /etc/ folder. In this file I added: "extension=mcrypt.so" (http://jenssegers.be/blog/49/installing-the-php-mcrypt-extensi...)

But it still does not work :/

Last updated 1 year ago.
0
Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

d3mueller d3mueller Joined 29 Aug 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.

© 2024 Laravel.io - All rights reserved.