Mcrypt PHP extension required on Mac OS X

后端 未结 5 743
太阳男子
太阳男子 2021-02-12 15:28

I keep getting this error

Mcrypt PHP extension required

at the bottom after I run a composer update :

5条回答
  •  囚心锁ツ
    2021-02-12 16:20

    Steps

    I solved this by running the following commands

    brew update
    brew upgrade
    brew tap homebrew/dupes
    brew tap josegonzalez/homebrew-php
    brew install php54-mcrypt
    php --version // To Test your php 
    sudo composer update
    

    Result

    No more Mcrypt warning !!

    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Nothing to install or update
    Generating autoload files
    Generating optimized class loader
    

提交回复
热议问题