0

I installed Xampp on Ubuntu 16 to work with Laravel. I ran my Laravel code and got this error : Mcrypt PHP extension required. After that I tried to install Mcrypt on PHP.

I have done these :

sudo apt-get install mcrypt
sudo phpenmod mcrypt

I have also done this : Link

I also restart the all services from Xampp after every change but I still get error on Laravel.

Any idea ?

My PHP version is 7.0.22 and Ubuntu version is 16.04.1 .

Thank you .

Edit 1

I did this and I still see the error.

1 Answers1

0

After trying to many things. I just got rid of this shit by installing both version on my computer.

First I installed php 7.1.19 version. Secondly I installed php 7.2.15 version

Now I am working perfectly with my project.