|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2010-04-12 22:13 UTC] wdierkes at 5dollarwhitebox dot org
Description: ------------ [root@linuxbox ~]# php -v PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/drizzle.so' - /usr/lib64/php/modules/drizzle.so: undefined symbol: READY_TO_DESTROY in Unknown on line 0 PHP 5.1.6 (cli) (built: Jan 13 2010 17:09:42) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 20 20:00:01 2025 UTC |
Apparently this is an issue with the older (5.1.x) version of php. replace the line: if (READY_TO_DESTROY(__zval)) { \ with: if ((__zval)->refcount == 1) { \ in php_drizzle.c at line 1235. Search for READY_TO_DESTROY This allowed drizzle.so to work correctly for me with CentOS 5.4 and PHP 5.1.6