From 632bd4a605889400b1a5e71e64801eedf1452de0 Mon Sep 17 00:00:00 2001 From: Debian PHP Maintainers Date: Sat, 2 May 2015 10:26:51 +0200 Subject: [PATCH] php-5.4.9-phpinfo Drop "Configure Command" from phpinfo as it doesn't provide any useful information. The available extensions are not related to this command. Gbp-Pq: Name 0003-php-5.4.9-phpinfo.patch --- ext/standard/info.c | 3 --- ext/standard/tests/general_functions/phpinfo.phpt | 1 - 2 files changed, 4 deletions(-) diff --git a/ext/standard/info.c b/ext/standard/info.c index b7e9fe48..dd251197 100644 --- a/ext/standard/info.c +++ b/ext/standard/info.c @@ -834,9 +834,6 @@ PHPAPI ZEND_COLD void php_print_info(int flag) #ifdef PHP_BUILD_ARCH php_info_print_table_row(2, "Architecture", PHP_BUILD_ARCH); #endif -#ifdef CONFIGURE_COMMAND - php_info_print_table_row(2, "Configure Command", CONFIGURE_COMMAND ); -#endif if (sapi_module.pretty_name) { php_info_print_table_row(2, "Server API", sapi_module.pretty_name ); diff --git a/ext/standard/tests/general_functions/phpinfo.phpt b/ext/standard/tests/general_functions/phpinfo.phpt index 57ba13bb..2e2fae8b 100644 --- a/ext/standard/tests/general_functions/phpinfo.phpt +++ b/ext/standard/tests/general_functions/phpinfo.phpt @@ -17,7 +17,6 @@ PHP Version => %s System => %s Build Date => %s%a -Configure Command => %s Server API => Command Line Interface Virtual Directory Support => %s Configuration File (php.ini) Path => %s -- 2.30.2