Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

sanjay1688's avatar

Mcrypt PHP extension required.

hey i m facing the issuse Mcrypt PHP extension required. Using Mac el capitan(10.11) and laverl 4.2

Please help me out

0 likes
5 replies
yaeykay's avatar

Install php5-mcrypt or php7.0-mcrypt.

sudo apt-get install php5-mcrypt

or

sudo apt-get install php7.0-mcrypt
martinbean's avatar

@sanjay1688 If you’re facing the “Mcrypt extension required” issue, doesn’t that suggest you need to install Mcrypt? Which should be your next query in Google if you don’t know how to do so.

Or, as @Piso says, you can just use Homestead which has everything installed to run Laravel applications locally.

Please or to participate in this conversation.