Assuming ubuntu :)
sudo apt install php7.1-mcrypt
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am trying to run below project in my localhost.
https://i.stack.imgur.com/HzKLb.png
My PHP configuration is like below
https://i.stack.imgur.com/iRwDT.png
I am trying to run php artisan --version command. I am getting below error
Try this then
sudo update-alternatives --set php /usr/bin/php7.1
After that it should work
Please or to participate in this conversation.