There are some huge legacy systems whose dependencies on PHPs' mcrypt
are extremely important and vital (including the data storage in database). I need to find a way to maintain this library while upgrading to PHP 7.2 (which already worked fine).
My local test environment is Windows. The live environment is run on CentOS.
Some of the answers I have seen is decrypting and change mcrypt to openssl (I think that's not possible at the moment since there's a lot of data to decrypt).
Another way lights to download a lower PHP version with mcrypt
-support, copy the extension and add it to php.ini (I do not even know the folder).
Downgrading PHP to 5.6 it's not suitable due to security issues.
Any light in what could be done in this scenario?