5

I am trying to install mcrypt PHP extension via Homebrew on Mac OS X Mavericks and get the following error.

Error: No available formula for php54-mcrypt

Help!

Gaurav Gupta
  • 5,380
  • 2
  • 29
  • 36

2 Answers2

14

You will need to run brew tap homebrew/dupes and then brew tap josegonzalez/homebrew-php

Then run brew install php54-mcrypt again.

Gaurav Gupta
  • 5,380
  • 2
  • 29
  • 36
0

Make sure you specify the correct directory. For example, you need to be in the homebrew directory if you run 'brew install php54-mcrypt'. If you're up one directory, you would need to run 'brew install homebrew/php54-mcrypt'.

Chris Scott
  • 583
  • 1
  • 7
  • 23