PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/module.so’

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

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
extension=module.so

Change this to…

; Enable mcrypt extension module
extension=module.so

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

2 comments