Mcrypt PHP extension required

1

What happens to me is that I have to work on a project that is laravel4.2 and my xammp has php 7.2.3 and when I try to run the project I get the error Mcrypt PHP extension required. I tried to change the Xammp version but the error persists

    
asked by Jhonatan Valencia 04.04.2018 в 23:59
source

1 answer

2

You should check in XAMPP the file php.ini where you will have to locate the following 2 files (if they exist)

;extension=php_mcrypt.dll
;extension=php_mcrypt_filter.dll

As notes have a semicolon at the beginning which indicates that they are disabled; therefore you should remove these symbols so that they are as follows

extension=php_mcrypt.dll
extension=php_mcrypt_filter.dll 
  

Once you make these changes, save your php.ini file and restart   XAMPP

Now I understand that you say you are working on a project already done

  

in that version, but consider the pros and cons as that version   no longer supported

    
answered by 05.04.2018 / 00:12
source