Mcrypt PHP extension required


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

1 answer


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


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


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