Take the 2-minute tour ×
Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

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
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.