Install libtool from homebrew first, which is a dependency in 10.10 Yosemite
brew reinstall libtool --universal && brew unlink libtool && brew link libtool
Then cd to your php directory
cd /usr/local/php5
And to the php.d directory
cd php.d
Then finally take a quick look to see which extensions you are using:
ls -l
If you see duplicate entries containing "mcrypt", you will need to open one of them and comment out the line:
extension=mcrypt.so
to
But only in one of them. For me it was mcrypt.ini. So..
sudo nano mcrypt.ini
added a line and did!
Stephen fraser
source share