Centos PHP提示:/usr/lib64/php/modules/module.so: cannot open

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/module.so' - /usr/lib64/php/modules/module.so: cannot open shared object file: No such file or directory in Unknown on line 0

解决方法:

vi /etc/php.d/mcrypt.ini
; Enable mcrypt extension module
extension=module.so
module.so改为mcrypt.so即可

 

2013年11月19日, PM 02:30:12

点赞