php extension - Startup: Unable to load dynamic library '/usr/lib/php/modules/module.so' -


when run command

php -v 

this error comes up

php warning: php startup: unable 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)

this cause 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 

edit:

mini

if directory /etc/php.d not exist – seems don`t have php installed or file mcrypt.ini in different location. try work around.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -