Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed mcrypt via "yum install php-mycrypt" but php still says it can't find it. How do I configure php to find it?

share|improve this question
What distribution/version are you using? – symcbean Oct 4 '10 at 13:45
up vote 1 down vote accepted

Try checking the list of php modules:

php -m

If it's not listed, and no error appears it's probably not being loaded. Check /etc/php.ini and /etc/php.d/* and add an "extension=" line if it's not their alread.

share|improve this answer

Have you restarted Apache?

service httpd restart

assuming CentOS/RHEL from the "yum".

share|improve this answer

I think it's yum install php-mcrypt

Or try listing/searching for it. yum list php*

share|improve this answer

Your Answer


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.