Page 1 of 1

mcrypt extension not working

PostPosted: 13. May 2016 04:08
by xkevin
I am having trouble when I use the mcrypt_encrypt/decrypt function because it is not working on localhost. How can I install and enable it? Any help?

Re: mcrypt extension not working

PostPosted: 13. May 2016 09:10
by Altrea
"not working" is no helpful error reporting.

Re: mcrypt extension not working

PostPosted: 13. May 2016 09:42
by xkevin
extension of it was not included on xampp installation. function is not installed. I am using XAMPP for Windows version 7.0.5. Help me, the program runs smoothly on live but not on localhost.

Re: mcrypt extension not working

PostPosted: 13. May 2016 10:48
by Nobbie
I have installed xampp 7.0.5 in windows and on my Installation, mcrypt is statically linked into PHP7. Run phpinfo and look for "mcrypt". Here is a screenshot of my PHP7:

Image