From 7586cdc65460ff15acc2bfcfcb3bec49239fd296 Mon Sep 17 00:00:00 2001 From: Sander Roobol Date: Thu, 9 May 2002 09:36:45 +0000 Subject: Added the current SAPI to the output of php -v --- sapi/cli/php_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/cli/php_cli.c') diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 8299ba919c..55f9f38031 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -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; -- cgit v1.2.1