logo.svg

PHP Extension "mcrypt" must be loaded PHP Extension "curl" must be loaded

posts/php-extension-mcrypt-must-be-loaded-php-extension-curl-must-be-loaded/hero.png

I ran into this little problem after watching Easy E-Commerce With Magento tut over at NetTuts.

I received this error during the installation process: PHP Extension "mcrypt" must be loaded & PHP Extension "curl" must be loaded.

posts/php-extension-mcrypt-must-be-loaded-php-extension-curl-must-be-loaded/6.png

If you are tiring to install Magento on your localhost with WAMP here is the solution.

  1. Left click on the WAMP icon in notification area.
  2. Go to PHP
  3. Click php.ini
  4. posts/php-extension-mcrypt-must-be-loaded-php-extension-curl-must-be-loaded/1.png

  5. Search for mcrypt in this document.
  6. posts/php-extension-mcrypt-must-be-loaded-php-extension-curl-must-be-loaded/2.png

  7. You should be looking for ;extension=php_mcrypt.dll
  8. You need to uncomment that line of code, so remove the semicolon in front of it.
  9. Next search for curl in this document. You should be looking for ;extension=php_curl.dll
  10. You need to uncomment that line of code as well.
  11. posts/php-extension-mcrypt-must-be-loaded-php-extension-curl-must-be-loaded/7.png

  12. Save and close this document.
  13. Restart wamp
  14. Refresh the Magento installation page.