PHP 4.0 Bug #7916 Updated: DL_UNLOAD WORKAROUND

From: Date: Fri, 08 Dec 2000 00:34:22 +0000
Subject: PHP 4.0 Bug #7916 Updated: DL_UNLOAD WORKAROUND
Groups: php.dev 
Request: Send a blank email to php-dev+get-40523@lists.php.net to get a copy of this message
ID: 7916 Updated by: sniper Reported By: glen@ldscn.com Status: Feedback Bug Type: Apache related Assigned To: Comments: Please try the latest snapshot from http://snaps.php.net/ --Jani Previous Comments: --------------------------------------------------------------------------- [2000-11-21 20:32:11] glen@ldscn.com I see nine big reports for the DL_UNLOAD problem. Here's a workaround. in Zend/zend.h, find this line: #define ZEND_EXTENSIONS SUPPORT 0 It's the last instance of ZEND_EXTENSIONS_SUPPORT in zend.h JUST PRIOR TO THAT LINE, ADD THIS LINE: #define DL_UNLOAD(libname) ; The semicolon at the right is important. The code that runs for most systems does not use Zend Extensions Support, and does not need DL_UNLOAD, but somewhere an #ifdef is missing - I can't find it. But the #define you add above redefines their macro as ";" (no-op) which should compile and link and load just fine. Glen --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7916

« previous php.dev (#40523) next »