Permalink
Browse files

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

…defined)
  • Loading branch information...
1 parent 04d6734 commit 01f828ebb0dcb4141a57a7d962dc745cdfc63836 @tony2001 tony2001 committed Jun 8, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 main/php_ini.c
View
@@ -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 01f828e

Please sign in to comment.