diff options
author | Remi Collet <remi@remirepo.net> | 2020-04-09 14:38:58 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-04-09 14:38:58 +0200 |
commit | 615a5edd3272c380b5c911b459794d82e4857c96 (patch) | |
tree | 7f2821324c717f9ce0a1d2a8c48a5f0ee68e857b /php-5.6.3-phpinfo.patch |
duplicate 7.4 stuff
Diffstat (limited to 'php-5.6.3-phpinfo.patch')
-rw-r--r-- | php-5.6.3-phpinfo.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/php-5.6.3-phpinfo.patch b/php-5.6.3-phpinfo.patch new file mode 100644 index 0000000..086be15 --- /dev/null +++ b/php-5.6.3-phpinfo.patch @@ -0,0 +1,29 @@ + +Drop "Configure Command" from phpinfo as it doesn't +provide any useful information. +The available extensions are not related to this command. + +diff -up php-7.0.0RC1/ext/standard/info.c.phpinfo php-7.0.0RC1/ext/standard/info.c +--- php-7.0.0RC1/ext/standard/info.c.phpinfo 2015-08-18 23:39:24.000000000 +0200 ++++ php-7.0.0RC1/ext/standard/info.c 2015-08-22 07:56:18.344761928 +0200 +@@ -870,9 +870,6 @@ PHPAPI void php_print_info(int flag) + #ifdef ARCHITECTURE + php_info_print_table_row(2, "Architecture", ARCHITECTURE); + #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 -up php-7.0.0RC1/ext/standard/tests/general_functions/phpinfo.phpt.phpinfo php-7.0.0RC1/ext/standard/tests/general_functions/phpinfo.phpt +--- php-7.0.0RC1/ext/standard/tests/general_functions/phpinfo.phpt.phpinfo 2015-08-18 23:39:22.000000000 +0200 ++++ php-7.0.0RC1/ext/standard/tests/general_functions/phpinfo.phpt 2015-08-22 07:56:18.344761928 +0200 +@@ -20,7 +20,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 |