WARNING: JetBackup 4 is set to reach its End-of-Life (EOL) on July 1st, 2024. For More Information, please visit: JetBackup 4 EOL Announcement.
NOTICE: JetBackup 5 is now available in the Stable Tier. For more information, please visit our Jetbackup 5 Documentation.

Function mcrypt_list_algorithms() is deprecated

If you get this error when creating SSH destination

PHP Error (Deprecated) - Function mcrypt_list_algorithms() is deprecated in \/usr\/local\/jetapps\/var\/lib\/3rdparty\/google\/vendor\/phpseclib\/phpseclib\/phpseclib\/Crypt\/Base.php on line 1596

To resolve, run this command

echo "# depricated" > /usr/local/jetapps/var/lib/php71/conf.d/20-mcrypt.ini