Skip to content

Magento Fatal Error: Call to undefined function mcrypt_module_open() using WampServer

I am using Magento 1, installed on a Windows 10 php(7.2) WampServer.

enter image description here

I tried to add this extension=php_mcrypt.dll in php.ini, but continued to receive the error.

enter image description here

How to add extension=php_mcrypt.dll in Windows 10 to resolve this error?