2

i am configuring an existing magento project on local system with WAMP server php version 7.2, while installing magento i get error "PHP extension "mcrypt" must be loaded." Problem is mycrypt is no longer supported in php 7.2, can anyone suggest how can i resolve it?

Vladimir Samsonov
  • 1,344
  • 2
  • 11
  • 18
Vikky
  • 752
  • 3
  • 15
  • 35

1 Answers1

3

mcrypt has been moved from php to pecl since 7.2

You still can install it.

Install dependencies

gcc make autoconf libc-dev pkg-config

install the lib itself

libmcrypt-dev

I assume php7.2 and pecl are installed so you just install mcrypt-1.0.1 (or whatever version is in rep.) with pecl

pecl install mcrypt-1.0.1
Vladimir Samsonov
  • 1,344
  • 2
  • 11
  • 18