Have Fedora, but no mcrypt functionality for PHP?
February 21st, 2008Easy 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).


July 6th, 2008 at 3:54 am
Hello,
It worked for me on Godaddy Host. I was trying to install magento commerce and had problems with mcrypt.
Thanks!
July 19th, 2008 at 5:06 pm
No prob! I was using GoDaddy too - I guess it is a host thing.
October 8th, 2008 at 12:17 pm
Very helpful post . I haven’t used a Yum or RPM command in almost 4 years. This post was the immediate answer.
I just helped a friend who needed mcrypt for a ( just as the others said ) magneto install on a GoDaddy host.
Just wanted to remind people:
You shouldn’t have to change any configs or ini files to get mcrypt going.
After these commands complete the installation , restart your web server and magneto will pass the mcrypt test and phpinfo() will be updated.
October 8th, 2008 at 1:18 pm
Thanks. Although it does seem the explanation is somewhat GoDaddy specific - hopefully it is close for those using other hosts’ Linux distros.