PHP Cannot load dynamic link library '/usr/lib64/php/modules/module.so
php --version
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/module.so' -
/usr/lib64/php/modules/module.so: Unable to open shared objects file: No such file or directory listed on line 0
PHP 5.3.3 (cli) (built: Dec 11, 2013 03:29:57 AM) Copyright (c) 1997-2010 PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
source to share
-
I check the whole file: /etc/php.d/
-
It was mcrypt.ini with this line
extension = module.so
but module.so doesn't exist in / usr / lib 64 / php / modules /
-
I reinstalled mcrypt with yum install mcrypt and as a result I have mcryp.so in / usr / lib 64 / php / modules /
-
now just fix the line in your mcrypt.ini file and do
extension = mcrypt.so
Now everything is all right
source to share