Saturday, February 20, 2016

How to install Mcrypt on Ubuntu


Mcrypt is one of the most important module for php, it enables encryption which uses by majority of php framework such as laravel. In this article i will show you how to install mcrypt module for php 5 on lubuntu.

To install mcrypt module on lubuntu is pretty easy, but simply installing mcrypt on lubuntu doesn't mean mcrypt will work, you need to run a special command to activate mcrypt module.

sudo apt-get install php5-mcrypt

sudo php5enmod mcrypt

It's a good idea also to restart the web server, if you are using apache web server, you can run this command to restart:

sudo service apache2 restart


~ goodluck ~

No comments:

Post a Comment