Unable to load dynamic library '/usr/lib/php/modules/module.so'


When I run command
 
php -v

this error come up
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/module.so' - /usr/lib/php/modules/module.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP 5.3.3 (cli) (built: Feb 22 2013 02:37:06)

solution:

This is cause by mcrypt extension.
Edit /etc/php.d/mcrypt.ini
and change
; Enable mcrypt extension module
extension=module.so
to this
; Enable mcrypt extension module
extension=mcrypt.so
 
 
found at http://stackoverflow.com/questions/16677558/startup-unable-to-load-dynamic-library-usr-lib-php-modules-module-so

Comments

Popular posts from this blog

How to clean DB from old logs in Magento 1.x

Securing the Pi-hole with fail2ban to prevent DNS Amplification attacks

Apache 2.4 + mod_wsgi + Python 3.7 + Django installation on Centos 7.10