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

試著忘記壹切 提交于 2019-12-23 00:26:30

问题


php --version

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

PHP 5.3.3 (cli) (built: Dec 11 2013 03:29:57) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies


回答1:


  1. I check all file in : /etc/php.d/

  2. It was mcrypt.ini with this line

    extension=module.so

but module.so not exist in /usr/lib64/php/modules/

  1. I reinstalled mcrypt with yum install mcrypt and the result I have mcryp.so in /usr/lib64/php/modules/

  2. so now just correct the line in mcrypt.ini and make

extension=mcrypt.so

Now all is ok



来源:https://stackoverflow.com/questions/21654392/php-unable-to-load-dynamic-library-usr-lib64-php-modules-module-so

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!