Magento – php extension mcrypt/curl must be loaded

apacheconfigurationmagento-1.9

I was following a tutorial online about installing magento on ubuntu, but when I refresh the page at step 8/9/10(correct writable permissions on files) I get 2 errors: php extension mcrypt must be loaded and php extension curl must be loaded
I've found some answers online about how to fix it but I cant seem to find any answer that helps me. I'm running Ubuntu 13, apache2 and magento 1.9.0.1. What should I do to fix this?

Best Answer

Depending on your PHP version you should install it using:

sudo apt-get install php5-curl or sudo apt-get install php-curl

and sudo apt-get install php5-mcrypt or sudo apt-get install php-curl

You then need to restart your webserver to make the new php modules load.

Related Topic