Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

3 Answers

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
add comment

Have you restarted Apache?

service httpd restart

assuming CentOS/RHEL from the "yum".

share|improve this answer
add comment

I think it's yum install php-mcrypt

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

share|improve this answer
add comment

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.