- php_info_print_table_row(2, "Extended HTTP support", "enabled");
- php_info_print_table_row(2, "Extension Version", HTTP_PEXT_VERSION);
-#ifdef HTTP_HAVE_CURL
- php_info_print_table_row(2, "cURL HTTP Requests", curl_version());
-#else
- php_info_print_table_row(2, "cURL HTTP Requests", "disabled");
-#endif
-#ifdef HTTP_HAVE_ZLIB
- {
- char my_zlib_version[64] = {0};
-
- strlcat(my_zlib_version, "zlib/", 63);
- strlcat(my_zlib_version, zlibVersion(), 63);
- php_info_print_table_row(2, "zlib GZIP Encodings", my_zlib_version);
- }
-#else
- php_info_print_table_row(2, "zlib GZIP Encodings", "disabled");
-#endif
-#ifdef HTTP_HAVE_MHASH
- {
- char mhash_info[32];
-
- snprintf(mhash_info, 32, "libmhash/%d", MHASH_API_VERSION);
- php_info_print_table_row(2, "mhash ETag Generator", mhash_info);
- }
-#else
- php_info_print_table_row(2, "mhash ETag Generator", "disabled");
-#endif
-#if defined(HTTP_HAVE_MAGIC) && !defined(WONKY)
- php_info_print_table_row(2, "magic MIME Guessing", "libmagic/unknown");
-#else
- php_info_print_table_row(2, "magic MIME Guessing", "disabled");
-#endif
+ php_info_print_table_row(2, "HTTP Support", "enabled");
+ php_info_print_table_row(2, "Extension Version", PHP_EXT_HTTP_VERSION);