• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Codeigniter 3.1.6 with PHP7.1 and Nginx

#1
Thanks for the continuous updates. Last week I have installed php7.1 on my development machine in order to upgrade all the company's websites. Every think is seems fixed now except the following errors.

A PHP Error was encountered
Severity: 8192
Message: Function mcrypt_get_iv_size() is deprecated
Filename: libraries/Encrypt.php
Line Number: 315

A PHP Error was encountered

Severity: 8192

Message: Function mcrypt_decrypt() is deprecated

Filename: libraries/Encrypt.php
Line Number: 325

I am using codeigniter 3.1.6 though.
It seems like required to update the core Encrypt.php where the functions are mcrypt_get_iv_size() and mcrypt_decrypt() as they are deprecated.

Could you help me how to fix the core lib error or should I wait for next release as I use this Encrypt lib many places?
Your help in this regards will be helpful.


Attached Files Thumbnail(s)
   

#2
Closing as duplicate of https://forum.codeigniter.com/thread-69396.html

(should've been the other way around, but now there are already replies there, so ...)


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2017 MyBB Group.