1 way I’ve found of installing mcrypt, to tell you the truth I have no idea how it works, but it worked for me. Please comment and let me know how it works for you.
From root SSH (putty)
run commands as follows:
yum install mcrypt*
yum install php-mcrypt*