Mcrypt with Mamp Pro on Mac OS X Yosemite 10.10

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

    I've contacted MAMP support, and this is what they responded.

    Hi,

    Our php.ini file is messed up for 5.6.1. Go to your template files and change this line

    /Applications/MAMP/bin/php/php5.6.1 ....

    to

    /Applications/MAMP/bin/php/php5.6.1/lib/php/extensions/no-debug-non-zts-20131226

    We will have a full fix in a few days. You can also just downgrade to php 5.5. in the meantime.

提交回复
热议问题