Mcrypt with Mamp Pro on Mac OS X Yosemite 10.10

后端 未结 5 665
暖寄归人
暖寄归人 2021-01-03 11:30

After the Yosemite update yesterday, something is messed up with the Mcrypt extension. The PHP based artistan CLI of the Laravel framework returns:

M

5条回答
  •  天涯浪人
    2021-01-03 11:57

    The hotfix was applied this morning MAMP & MAMP PRO 3.0.7.2 Published: 2014-10-21. Default php 5.6.2

    Don't forget to update .bash_profile

    export PATH=/Applications/MAMP/bin/php/php5.6.2/bin:$PATH

    Everything works fine on my local and it also works fine with drush (for those that use it)

提交回复
热议问题