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.

I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face - we are here to solve your problems.

0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
DMCA.com Protection Status
0
Would love your thoughts, please comment.x
()
x