PHP 4.0 Bug #7916 Updated: DL_UNLOAD WORKAROUND

From: Date: Tue, 30 Jan 2001 09:13:37 +0000
Subject: PHP 4.0 Bug #7916 Updated: DL_UNLOAD WORKAROUND
Groups: php.dev 
Request: Send a blank email to php-dev+get-45330@lists.php.net to get a copy of this message
ID: 7916 Updated by: sniper Reported By: glen@ldscn.com Old-Status: Feedback Status: Closed Bug Type: Apache related Assigned To: Comments: This should be fixed in PHP 4.0.4pl1. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-12-07 19:34:22] sniper@php.net Please try the latest snapshot from http://snaps.php.net/ --Jani --------------------------------------------------------------------------- [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 (#45330) next »