Mcrypt with Mamp Pro on Mac OS X Yosemite 10.10

后端 未结 5 670
暖寄归人
暖寄归人 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:44

    I just had the same problem.

    Just use PHP Version 5.5.17 in MAMP and everything should work fine again.

    Remember to switch the version in your .bash_profile too:

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

提交回复
热议问题