PHP7.1 and Laravel 5.3: Function mcrypt_get_iv_size() is deprecated

前端 未结 4 1656
一向
一向 2020-12-25 10:25

I\'m using Laravel 5.0 for all my projects. Yesterday, I\'ve updated my PHP version from 7.0.x to version 7.1.0. Once updated, I tried opening my Laravel project and saw thi

4条回答
  •  心在旅途
    2020-12-25 11:06

    In your config/app.php configuration file, you should update the cipher to "AES-256-CBC" and set your key to a random 32 byte string which may be securely generated using php artisan key:generate

提交回复
热议问题