diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/config.w32.h | 3 | ||||
-rw-r--r-- | main/internal_functions_win32.c | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/main/config.w32.h b/main/config.w32.h index 5ed74e38d4..f078785d3d 100644 --- a/main/config.w32.h +++ b/main/config.w32.h @@ -12,6 +12,9 @@ /* set to enable bcmath */ #define WITH_BCMATH 1 +/* set to enable mysql */ +#define HAVE_MYSQL 1 + /* set to enable bundled PCRE library */ #define HAVE_BUNDLED_PCRE 1 diff --git a/main/internal_functions_win32.c b/main/internal_functions_win32.c index fd378a3dff..2903c80d4b 100644 --- a/main/internal_functions_win32.c +++ b/main/internal_functions_win32.c @@ -55,6 +55,7 @@ #include "ext/odbc/php_odbc.h" #include "ext/session/php_session.h" #include "ext/xml/php_xml.h" +#include "ext/mysql/php_mysql.h" /* SNMP has to be moved to ext */ /* #include "dl/snmp/php_snmp.h" */ @@ -89,7 +90,8 @@ zend_module_entry *php_builtin_extensions[] = { phpext_output_ptr, phpext_array_ptr, phpext_assert_ptr, - phpext_xml_ptr + phpext_xml_ptr, + phpext_mysql_ptr }; #define EXTCOUNT (sizeof(php_builtin_extensions)/sizeof(zend_module_entry *)) |