int expose_php = INI_INT("expose_php");
time_t the_time;
struct tm *ta, tmbuf;
+ char php_api_no[9];
char mod_api_no[9];
char ext_api_no[9];
the_time = time(NULL);
ta = php_localtime_r(&the_time, &tmbuf);
+ snprintf (php_api_no, 9, "%d", PHP_API_VERSION);
snprintf (mod_api_no, 9, "%d", ZEND_MODULE_API_NO);
snprintf (ext_api_no, 9, "%d", ZEND_EXTENSION_API_NO);
php_info_print_table_row(2, "Configuration File (php.ini) Path", php_ini_opened_path?php_ini_opened_path:PHP_CONFIG_FILE_PATH);
+ php_info_print_table_row(2, "PHP API No.", php_api_no);
php_info_print_table_row(2, "PHP Extensions API No.", mod_api_no);
php_info_print_table_row(2, "Zend Extensions API No.", ext_api_no);