Reputation: 529
I have to encrypt url parameter in codeigniter. So that i have to include "encrypt" library but When I load library -$this->load->library('encrypt'); it shows following error- The Encrypt library requires the Mcrypt extension. What I do now? Thanks.
Upvotes: 1
Views: 836
Reputation: 5506
You need to install sudo apt-get install php5-mcrypt
if it is wamp enable the php configs and able to see it in the out put of phpinfo()
extension=mcrypt.so
Restart the apache after your changes
Upvotes: 2