Skip to content
Browse files

fix bug #51276 (php_load_extension() is missing when HAVE_LIBDL is un…

…defined)
  • Loading branch information...
1 parent a8be1c1 commit ae01c146d101d3f2751aed00f66c01e57a4052bc @tony2001 tony2001 committed
Showing with 4 additions and 0 deletions.
  1. +2 −0 NEWS
  2. +2 −0 main/php_ini.c
View
2 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)
View
2 main/php_ini.c
@@ -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
}
/* }}} */

0 comments on commit ae01c14

Please sign in to comment.
Something went wrong with that request. Please try again.