PHP警告:PHP启动:无法加载动态库-Gearman.so

时间:2019-03-21 20:20:38

标签: php apache php-7.2 gearman dynamic-library

我试图将gearman.so文件添加到我的php扩展文件夹中 并更新了

php.ini

extension="/usr/local/lib/php/extensions/gearman.so"

但是当我尝试运行php -i |grep gearman时,出现以下错误

  Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/gearman.so' (tried: /usr/local/lib/php/extensions/gearman.so (dlopen(/usr/local/lib/php/extensions/gearman.so, 9): no suitable image found.  Did find:
  /usr/local/lib/php/extensions/gearman.so: open() failed with errno=13
  /usr/local/lib/php/extensions/gearman.so: stat() failed with errno=22), /usr/local/lib/php/pecl/20170718//usr/local/lib/php/extensions/gearman.so.so (dlopen(/usr/local/lib/php/pecl/20170718//usr/local/lib/php/extensions/gearman.so.so, 9): image not found)) in Unknown on line 0

0 个答案:

没有答案