Menu

Michael Gracie

Have Fedora, but no mcrypt functionality for PHP?

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).