YII – The mcrypt PHP extension is not installed.

Recently i tried to install YII2 ,i got “The mcrypt PHP extension is not installed.” error.

In this post, I will show you how to fix this issue and show you how to install mcrypt.

What’s mcrypt?

MCrypt is a replacement for the old crypt() package and crypt(1) command, with extensions. It allows developers to use a wide range of encryption functions, without making drastic changes to their code. It allows users to encrypt files or data streams without having to be cryptographers.

I am using suing ubuntu, below are the commands for installing mcrypt. Open your terminal run the commands.

That’s it.

Categorized as Apache Tagged

By Arjun

I am Arjun from Hyderabad (India). I have been working as a software engineer from the last 7+ years, and it is my passion to learn new things and implement them as a practice. Aside from work, I like gardening and spending time with pets.

0 0 vote
Article Rating
Notify of
Inline Feedbacks
View all comments