php error: The Encrypt library requires the Mcrypt extension in codeigniter

后端 未结 10 997
渐次进展
渐次进展 2020-12-10 13:30

I have a login and sign up form and use the encrypt library to encrypt the password.. I am using Xampp for my server and my system works correctly..

code to encrypt

10条回答
  •  南笙
    南笙 (楼主)
    2020-12-10 13:54

    Open your: /etc/php5/apache2/php.ini
    Example: sudo gedit /etc/php5/apache2/php.ini
    At line 1728, put this code:

    extension=mcrypt.so
    

    Then restart your Apache.

提交回复
热议问题