Welcome Guest, Not a member yet? Register   Sign In
Mcrypt is installed, but error implies it's not.
#11

(11-25-2014, 08:38 AM)Chroma Wrote:
(11-21-2014, 09:41 AM)marksalvatore Wrote: Codeigniter 2.2 displays error, “The Encrypt library requires the Mcrypt extension.”
I’m running PHP 5.6.2 (via MAMP) on Yosemite 10.10.1.

Phpinfo says mcrypt is enabled. The php log shows no error. Apache log shows no error. This issue occurs only in my local environment. My dev and production environments don’t throw the error (Ubuntu 11.10)

I know this has been a common snag with the CI 2.2 upgrade, but mcrypt problems appear resolved when PHP is upgraded, or mcrypt is installed. What am I missing?

I don't know if this is related to your problem, but when I upgraded to CI 3.0, I found a bug in the CI library, which was very kindly fixed for me.

https://github.com/bcit-ci/CodeIgniter/issues/3317

This might be what you are seeing, and XAMPP and MAMP are not massively different.

Your issue was with a library that doesn't even exist in CI 2.2, it has nothing to do with this.
Reply


Messages In This Thread
RE: Mcrypt is installed, but error implies it's not. - by Narf - 11-25-2014, 08:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB