Magento released a patch for magento 1.9.3.x to be able to support php7.2. The patch includes /lib/mcrypt_compat/mcrypt.php so that php7.2 which does not have the mcrypt module (at least officially), can run without problems.

However i just notice that Magento actually does not include this mcrypt lib, which means you either have to install mcrypt for php7.2 with pear, extract the file from a Magento installation or use php7.1 which has mcrypt.

Does anyone know why this is the case?

1 Answer 1


According to Inchoo (they guys that created the Magento patch for PHP 7), the PHP 7.2 patch was created before the version but not included.

However, Magento will include a revised core with the PHP 7.2 patch built in.

Source: Link to github

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.