Laravel requires the Mcrypt PHP extension

后端 未结 22 2341
生来不讨喜
生来不讨喜 2020-11-22 07:59

I am trying to use the migrate function in Laravel 4 on OSX. However, I am getting the following error:

Laravel requir         


        
22条回答
  •  醉梦人生
    2020-11-22 08:42

    For those who still come here today:

    Laravel does not need mcrypt extension anymore. mcrypt is obsolete, the last update to libmcrypt was in 2007. Laravel 4.2 is obsolete too and has no more support. The best (=secure) solution is to update to Laravel >5.1 (there is no LTS before Laravel 5.2).

    Mcrypt was removed from Laravel in June 2015: https://github.com/laravel/framework/pull/9041

提交回复
热议问题