|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-07-11 04:03 UTC] wwccss at gmail dot com
Description: ------------ Hello: Thanks for your work of the extension of gearman for php. I tested it on my centos machine but there are some errors: *PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/gearman.so' - /usr/lib64/php/modules/gearman.so: undefined symbol: READY_TO_DESTROY in Unknown on line 0 * *the os info: * uname -a Linux sno3 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 11:57:43 EST 2008 x86_64 x86_64 x86_64 GNU/Linux CentOS release 5 (Final) *and the php verison:* PHP 5.1.6 (cli) (built: Apr 7 2009 08:00:18) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies What should I do? Thanks a lot. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 22:00:01 2025 UTC |
I spoke with eday in the irc channel. Apparently this is an issue with the older (5.1.x) version of php. They suggested replacing the line: if (READY_TO_DESTROY(__zval)) { \ with if ((__zval)->refcount == 1) { \ in php_gearman.c around line 1000. Search for READY_TO_DESTROY This allowed gearman.so to load correctly for me, but I have not tested it. This