<p>Here's all you need:</p>

<p><a href="http://topicdesk.com/downloads/mcrypt/mcrypt-download" rel="nofollow">http://topicdesk.com/downloads/mcrypt/mcrypt-download</a></p>

<p>Works like a charm.</p>

<p><em>Update:</em> to use brew, you have to specify the version of PHP for it to work. For example:</p>

<pre><code>brew install mysql php54-mcrypt
</code></pre>

CC BY-SA 3.0
2015-06-25T14:24:57.187Z
This doesn't work in Yosemite
Holland
CC BY-SA 3.0
2015-08-19T16:55:45.003Z
Did anyone figure out what does work in Yosemite? I'm getting the same error.
Ian Young
CC BY-SA 3.0
2015-08-20T16:27:15.590Z
It's a gigantic pain in the neck, but I followed the instructions here and got it working just fine: http://michaelgracie.com/2014/11/plugging-mcrypt-into-php-on-mac-os-x-yosemite-10-10/
Nathan D Huening
CC BY-SA 3.0
2014-08-04T22:43:31.480Z
2014-08-05T21:53:34.920Z
2014-08-05T21:53:34.920Z
Nathan D Huening
<p>I'm stuck on the /admin/install page, getting an error "Can't run Craft :(" saying that Mcrypt is required. </p>

<p>I've tried installing with Homebrew, but kept getting an error. So, I installed mcrypt manually using these <a href="https://stackoverflow.com/questions/14595841/installing-mcrypt-extension-for-php-on-osx-mountain-lion">instructions on Stack Overflow</a>. PHP and Mcrypt are installed:</p>

<pre><code>$ which php
/usr/local/bin/php

$ which mcrypt
/usr/local/bin/mcrypt
</code></pre>

<p>And in my php.ini file I've added:</p>

<pre><code>extension=mcrypt.so
</code></pre>

<p>(I've also tried including the path extension=/usr/local/bin/mcrypt.so)</p>

<p>In the <code>;extension</code> area (around line 880).</p>

<p>Even after restarting Apache, I still get the same error that "Mcrypt isn't installed" from Craft. </p>

<install>
Mcrypt is required on OS X Mavericks 10.9.4
# Mcrypt is required on OS X Mavericks 10.9.4

(Asked by: username_0 on 2014-08-04)

I'm stuck on the /admin/install page, getting an error "Can't run Craft :(" saying that Mcrypt is required. 
I've tried installing with Homebrew, but kept getting an error. So, I installed mcrypt manually using these instructions on Stack Overflow. PHP and Mcrypt are installed:
$ which php
/usr/local/bin/php

$ which mcrypt
/usr/local/bin/mcrypt

And in my php.ini file I've added:
extension=mcrypt.so

(I've also tried including the path extension=/usr/local/bin/mcrypt.so)
In the ;extension area (around line 880).
Even after restarting Apache, I still get the same error that "Mcrypt isn't installed" from Craft.

**Tags:** install


---

## 1 answers

### Answer by username_1 on 2014-08-04. Score: 6

Here's all you need:
http://topicdesk.com/downloads/mcrypt/mcrypt-download
Works like a charm.
Update: to use brew, you have to specify the version of PHP for it to work. For example:
brew install mysql php54-mcrypt

> **Comments:**
> **username_2**: This doesn't work in Yosemite  
> **username_3**: Did anyone figure out what does work in Yosemite? I'm getting the same error.  
> **username_1**: It's a gigantic pain in the neck, but I followed the instructions here and got it working just fine: http://michaelgracie.com/2014/11/plugging-mcrypt-into-php-on-mac-os-x-yosemite-10-10/  

---

