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

前端 未结 10 1818
刺人心
刺人心 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:41

    Go to the CLI folder in your php instalation, and find php.ini in there and enable mcrypt. Terminal sometimes uses another php.ini, which is usually in the CLI folder.

提交回复
热议问题