I have a script that uses mcrypt_decrypt() function, but I get the following error
Fatal error: Call to undefined function mcrypt_decrypt()
What modules/libraries do I need to include to use this function? Or is there another reason I'm getting the error?
Thanks
And be carefull about the folder in the phpinfo page : "Scan this dir for additional .ini files" and the next : "Additional .ini files parsed ".
Please see:
You need to compile your PHP with
--with-mcrypt[=DIR]
and have libmcrypt Version 2.5.6 or greater on your machine.for php 5.3.X
depends on availability of yum mcrypt package , you could use yum packeages
like this : yum install php53-mcrypt and restart httpd