Magento Installation – PHP extension “mcrypt” must be loaded

Asked By 10 points N/A Posted on -
qa-featured

Hello all! I’m new to PHP. I’m about to learn programming in PHP, especially e-Commerce.

So I start to prepare the environment. I’ve installed XAMPP version 1.7.4.

Then, I downloaded Magento, for the e-Commerce application. When I started the installation process for a few steps or clicks, I found that my PHP from XAMPP failed to load some extension.

Here are the message:

PHP extension “mcrypt” must be loaded.

PHP extension “curl” must be loaded.

Where can I found those extensions and how to load them? Hope I found some solution here.

Thank you.

SHARE
Best Answer by maryredington
Best Answer
Best Answer
Answered By 0 points N/A #120088

Magento Installation – PHP extension “mcrypt” must be loaded

qa-featured
  • You must make sure that "mcrypt" and "curl" are there in your server and are loaded.
  • To do that, go to the file called php.ini. Edit the file by opening in the notepad and editing it.Find curl and gd2 extensions don't have semicolon in front of them. 
  • Now php.info to get all the info about your info about the server.

;extension = php_curl.dll

;extension = php_mcrypt.dll

  • Take out the two semicolons there. FInd them in the php.ini file and you will be done.

Cheers.

Answered By 5 points N/A #120089

Magento Installation – PHP extension “mcrypt” must be loaded

qa-featured

If your server does not have curl installed on it you can type one of the following commands to install it:

For Debian/Ubuntu based systems you can type

sudo apt-get install php5-curl sudo /etc/init.d/apache2 restart

For RedHat/CentOS based systems you can type (as root)

yum install php5-curl /etc/init.d/httpd restart

This should install curl and have it start to work for you.

Answered By 10 points N/A #120090

Magento Installation – PHP extension “mcrypt” must be loaded

qa-featured

Hello Lisa,

Make sure that before installing Magento, you have some preloaded PHP components and libraries that are required for Magento to work in your own server.

In the event that any of those components and libraries are not present, then Magento will not install and it will as well continue to throw such errors.

You will therefore need to ask your System Administrator to install the mentioned missing PHP libraries in your Web Server space at the place that PHP has been hosted.

You can check out this post for more on the Magento's System Requirements.

Hope this helps.

Regards,

Carl

Related Questions