92b301
92b301
Drop "Configure Command" from phpinfo as it doesn't
92b301
provide any useful information.
92b301
The available extensions are not related to this command.
92b301
92b301
Replace full GCC name by gcc in php -v output
92b301
92b301
92b301
diff -up ./ext/standard/info.c.phpinfo ./ext/standard/info.c
92b301
--- ./ext/standard/info.c.phpinfo	2020-07-21 10:49:31.000000000 +0200
92b301
+++ ./ext/standard/info.c	2020-07-21 11:41:56.295633523 +0200
92b301
@@ -805,9 +805,6 @@ PHPAPI ZEND_COLD void php_print_info(int
92b301
 #ifdef PHP_BUILD_ARCH
92b301
 		php_info_print_table_row(2, "Architecture", PHP_BUILD_ARCH);
92b301
 #endif
92b301
-#ifdef CONFIGURE_COMMAND
92b301
-		php_info_print_table_row(2, "Configure Command", CONFIGURE_COMMAND );
92b301
-#endif
92b301
 
92b301
 		if (sapi_module.pretty_name) {
92b301
 			php_info_print_table_row(2, "Server API", sapi_module.pretty_name );
92b301
diff -up ./ext/standard/tests/general_functions/phpinfo.phpt.phpinfo ./ext/standard/tests/general_functions/phpinfo.phpt
92b301
--- ./ext/standard/tests/general_functions/phpinfo.phpt.phpinfo	2020-07-21 10:49:31.000000000 +0200
92b301
+++ ./ext/standard/tests/general_functions/phpinfo.phpt	2020-07-21 11:41:56.296633522 +0200
92b301
@@ -17,7 +17,6 @@ PHP Version => %s
92b301
 
92b301
 System => %s
92b301
 Build Date => %s%a
92b301
-Configure Command => %s
92b301
 Server API => Command Line Interface
92b301
 Virtual Directory Support => %s
92b301
 Configuration File (php.ini) Path => %s
92b301
diff -up ./sapi/cli/php_cli.c.phpinfo ./sapi/cli/php_cli.c
92b301
--- ./sapi/cli/php_cli.c.phpinfo	2020-07-21 11:43:38.812475300 +0200
92b301
+++ ./sapi/cli/php_cli.c	2020-07-21 11:43:45.783464540 +0200
92b301
@@ -645,7 +645,7 @@ static int do_cli(int argc, char **argv)
92b301
 					"NTS"
92b301
 #endif
92b301
 #ifdef PHP_BUILD_COMPILER
92b301
-					" " PHP_BUILD_COMPILER
92b301
+					" gcc"
92b301
 #endif
92b301
 #ifdef PHP_BUILD_ARCH
92b301
 					" " PHP_BUILD_ARCH