php-mcrypt : Depends: php8.3-mcrypt but it is not installable, unchecked the php-mcrypt, php7.4-mcrypt, php8.1-mcrypt and php8.2-mcrypt and updated all other apps. I still cannot update it. How can I resolve this issue?
PHP developers have removed it from the PHP package bundle because of no further development in Mcrypt. Some of the alternatives to Php Mcrypt are Sodium (available as of PHP 7.2.0) and OpenSSL.
from this point you will need to add the following line to the correct php.ini
extension=mcrypt.so
you will have to look for the correct php.ini file but I would guess it to be /etc/php/version/fpm .
never done this for the reason I have never used mcrypt in my php coding or had a reason to use it through using someone else’s php code, so I would not recommend you do this but instead, reach out to the software developers of the software you are trying to use for advice
I think that is the best advice. As always the fault lies with the out-of-date code used in the app.
But good luck with that, PHP is old school but a lot of code was written using it and many of the developers have long gone (moved on). mcrypt was depreciated and removed for good reasons. Why should anyone need to decrypt a password? You have to question why it lasted so long.