summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysql/php_mysql.c')
-rw-r--r--ext/mysql/php_mysql.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c
index 5406880e09..8f9d5cb677 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -291,10 +291,8 @@ PHP_MINFO_FUNCTION(mysql)
char buf[32];
MySLS_FETCH();
- DISPLAY_INI_ENTRIES();
-
php_info_print_table_start();
- php_info_print_table_header(2, "Key", "Value");
+ php_info_print_table_header(2, "MySQL Support", "enabled");
sprintf(buf, "%ld", MySG(num_persistent));
php_info_print_table_row(2, "Active Persistent Links", buf);
sprintf(buf, "%ld", MySG(num_links));
@@ -306,6 +304,9 @@ PHP_MINFO_FUNCTION(mysql)
php_info_print_table_row(2, "MYSQL_LIBS", PHP_MYSQL_LIBS);
#endif
php_info_print_table_end();
+
+ DISPLAY_INI_ENTRIES();
+
}