1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 16:22:37 +01:00

Added the current SAPI to the output of php -v

This commit is contained in:
Sander Roobol
2002-05-09 09:36:45 +00:00
parent dad70be69c
commit 7586cdc654
2 changed files with 2 additions and 2 deletions

View File

@@ -875,7 +875,7 @@ consult the installation file that came with this distribution, or visit \n\
SG(headers_sent) = 1;
SG(request_info).no_headers = 1;
}
php_printf("%s\n", PHP_VERSION);
php_printf("%s (%s)\n", PHP_VERSION, sapi_module.name);
php_end_ob_buffers(1 TSRMLS_CC);
exit(1);
break;

View File

@@ -523,7 +523,7 @@ int main(int argc, char *argv[])
SG(headers_sent) = 1;
SG(request_info).no_headers = 1;
}
php_printf("%s\n", PHP_VERSION);
php_printf("%s (%s)\n", PHP_VERSION, sapi_module.name);
php_end_ob_buffers(1 TSRMLS_CC);
exit(1);
break;