I'm using MAMP and ive installed a fresh version of Opencart, its telling me i dont have MCrypt enabled, when i go to terminal and type:
php -m | grep mcrypt
output: mcrypt
I can locate the library but it doesn't seem to be enabled.
That fact that php -m | grep mcrypt
returns mcrypt
, means the mcrypt library is INSTALLED and ENABLED.
Although it may just be enabled for CLI.
You can try editing the PHP.ini file and adding the following line under the ; Extensions
section:
extension=mcrypt.so
Restart Apache / MAMP after saving php.ini file.
To find the correct php.ini
file to edit, run the following command line:
php --info | grep php.ini
(If the line already exists, you may just need to remove the ;
thats in front of it.)