Checkout Error – Call to Undefined Function mcrypt_module_open() in Magento

checkouterror

My checkout suddenly goes to a white page, it never used to do this!

The error I am getting is

Call to undefined function mcrypt_module_open() in
/var/www/vhosts/mywebsite.co.uk/httpdocs/lib/Varien/Crypt/Mcrypt.php
on line 63

PLEASE HELP! Thank you very much

Best Answer

This could be caused by a recent upgrade to PHP and you are missing PHP Mcrypt module.

To install it's usually a simple apt-get install php5-mcrypt on Ubuntu/Debian. A Google search should turn up the correct instructions for your PHP and OS version.

http://aryo.lecture.ub.ac.id/easy-install-php-mcrypt-extension-on-ubuntu-linux/

Related Topic