How to install mcrypt php 7.2.3 extension in xampp for windows?

32,767

You don't

See http://php.net/manual/en/intro.mcrypt.php

This feature was DEPRECATED in PHP 7.1.0, and REMOVED in PHP 7.2.0.

Alternatives to this feature include:

  • Sodium (available as of PHP 7.2.0)
  • OpenSSL

They didn't include this one

  • PHPSecLib

But it's a third party library so I can't say I blame them, I've used it for some time and never heard anything bad about it yet.

Share:
32,767
Lamine Mohammedi
Author by

Lamine Mohammedi

Updated on July 09, 2022

Comments

  • Lamine Mohammedi
    Lamine Mohammedi almost 2 years

    My PHP Version 7.2.3 and xampp pack do not have the mcrypt extension. It is not mentioned in the phpinfo() neither in the php.ini file in order to enable it.

    I have downloaded mcrypt from this link: https://sourceforge.net/projects/mcrypt/ but I don't know how to integrate it as php extension. I need solution for xampp in windows please

  • Arslan Ahmad khan
    Arslan Ahmad khan almost 3 years
    he is right I just shift from 7.2 to 5.6 its working fine now