Have Fedora, but no mcrypt functionality for PHP?

February 21st, 2008

Easy fix, despite the official line from PHP which says you need to recompile PHP –with-mcrypt.

I’ll caveat this by stating I’m using Fedora Core 7…

1) At the terminal, su root - you are now going to yum, not ./configure, make, and make install…

2) yum install mcrypt - this will get you libmcrypt, mhash, and mcrypt

3) yum install php-mcrypt - this will get you the functionality within PHP

Uh…done (without hassles).

2 responses

  1.   Tassos comments:
       

    Hello,

    It worked for me on Godaddy Host. I was trying to install magento commerce and had problems with mcrypt.

    Thanks!

  2.   Michael Gracie comments:
       

    No prob! I was using GoDaddy too - I guess it is a host thing.

Leave a comment