简体   繁体   中英

MAMP mcrypt not working

I'm currently trying to install Craft CMS which is informing me it wants 'mcrypt installed and working'. MAMP is supposed to come with it out of the box so here's what I've tried so far..

(PHP 7.1.0)

Changing my bash profile

# Use MAMP version of PHP
PHP_VERSION=`ls /Applications/MAMP/bin/php/ | sort -n | tail -1`
export PATH=/Applications/MAMP/bin/php/${PHP_VERSION}/bin:$PATH

Homebrew mcrypt Installing on my Mac

homebrew/php/php71-mcrypt

Checking php.ini that MAMP is using

extension=mcrypt.so

--

php -m | grep mcrypt

Replies in the terminal with no response?

Updating MAMP to the latest version fixed this issue. Bug in MAMP 4.0/.1

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM