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