]> granicus.if.org Git - php/commitdiff
fix bug #51276 (php_load_extension() is missing when HAVE_LIBDL is undefined)
authorAntony Dovgal <tony2001@php.net>
Tue, 8 Jun 2010 12:54:11 +0000 (12:54 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 8 Jun 2010 12:54:11 +0000 (12:54 +0000)
NEWS
main/php_ini.c

diff --git a/NEWS b/NEWS
index ae964462a052a71729037ef62adfa4ed97b7fe9c..096131b22755c3ccd5b703724ad0205af1844786 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -132,6 +132,8 @@ PHP                                                                        NEWS
   on). (Ilia, j dot jeising at gmail dot com)
 - Fixed bug #51291 (oci_error doesn't report last error when called two times)
   (Oracle Corp.)
+- Fixed bug #51276 (php_load_extension() is missing when HAVE_LIBDL is undefined). 
+  (Tony)
 - Fixed bug #51269 (zlib.output_compression Overwrites Vary Header). (Adam)
 - Fixed bug #51257 (CURL_VERSION_LARGEFILE incorrectly used after libcurl
   version 7.10.1). (aron dot ujvari at microsec dot hu)
index e6c71a14d4e3d51fcfd6fba2a5a29533399997fc..2c699b1a4dbff658af682c5c787ed2ad2e7f3665 100644 (file)
@@ -346,7 +346,9 @@ static void php_ini_parser_cb(zval *arg1, zval *arg2, zval *arg3, int callback_t
  */
 static void php_load_php_extension_cb(void *arg TSRMLS_DC)
 {
+#ifdef HAVE_LIBDL
        php_load_extension(*((char **) arg), MODULE_PERSISTENT, 0 TSRMLS_CC);
+#endif
 }
 /* }}} */