Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The mcrypt library is deprecated in PHP 7.1:
http://php.net/manual/en/migration71.deprecated.php
Comments
Comment #2
nicolaj.knudsen@gmail.com CreditAttribution: nicolaj.knudsen@gmail.com commentedThe libsodium library will be included as a standard library in PHP 7.2: https://wiki.php.net/rfc/libsodium to replace mcrypt.
Comment #3
rlhawkThat's good news. It will simplify setup and implementation of the Sodium module.
Comment #4
alberto56 CreditAttribution: alberto56 at Dcycle commentedUntil this gets fixed in 7.x-3.x, #2942898: mcrypt extension is deprecated in PHP 7.1 and removed in PHP 7.2 can be a workaround for 7.x-2.x
Comment #5
Manuel Garcia CreditAttribution: Manuel Garcia as a volunteer commentedHeads up that there is also this issue, with a patch: #2983555: PHP 7.1 Support, new openSSL plugin
Comment #6
youngwolf0 CreditAttribution: youngwolf0 as a volunteer and commentedIs this not being fixed for PHP 7.1 then?
Comment #7
Manuel Garcia CreditAttribution: Manuel Garcia as a volunteer commentedJust a heads up that #2983555: PHP 7.1 Support, new openSSL plugin got in
7.x-2.x
Comment #8
Manuel Garcia CreditAttribution: Manuel Garcia as a volunteer commentedComment #9
Manuel Garcia CreditAttribution: Manuel Garcia as a volunteer commentedComment #10
gisleThis is a duplicate of #2942898: mcrypt extension is deprecated in PHP 7.1 and removed in PHP 7.2. Closing.