For some reason (I think just on Red Hat/CentOS) you may end up with a bad reference in mcrypt.ini so “” as opposed to “”

To update this simply edit mcrypt.ini so that it points to the right extension (instead of what I’m assuming is placeholder text)

vim /etc/php.d/mcrypt.ini

You should see the following…

; Enable mcrypt extension module

Change this to…

; Enable mcrypt extension module

This might be the way the extension comes down from RPMForge I’m not sure

  • By: Andrew Kirkpatrick
  • In: PHP
  • Under: