can't find mcrypt => Call to undefined function Laravel\mcrypt_create_iv()

前端 未结 10 1839
刺人心
刺人心 2020-12-29 01:04

Trying to set up Laravel and keep getting hit with this error. I installed mcrypt through brew and it is located in /usr/local/Cellar. Any thoughts? .. It\'s not showing up

10条回答
  •  梦谈多话
    2020-12-29 01:51

    Just a note for people who have recently upgraded to PHP 7 - The MCRYPT library has been deprecated. If you upgraded to PHP 7 and are now seeing this error, that is why. You should switch to an alternative library, some alternatives are mentioned in this thread.

提交回复
热议问题