summaryrefslogtreecommitdiffstats
path: root/php-8.0.0-phpinfo.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-09-11 14:46:18 +0200
committerRemi Collet <remi@remirepo.net>2020-09-11 14:46:18 +0200
commitc891bb332af826e14cfb28614b1b9fedf80ec47d (patch)
treecf69b72e62e42fa56507df9c980c3d7d77a568af /php-8.0.0-phpinfo.patch
parentf252207863961c2e1431b6d0079fdbdd73b67f7f (diff)
update to 8.0.0beta3
bump ABI/API versions drop xmlrpc extension json is now build statically use system nikic/php-parser if available to generate C headers from PHP stub switch from "runselftest" option to bcond_without tests enchant: use libenchant-2 instead of libenchant rename 15-php.conf to 20-php.conf to ensure load order oci8 version is now 3.0.0
Diffstat (limited to 'php-8.0.0-phpinfo.patch')
-rw-r--r--php-8.0.0-phpinfo.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/php-8.0.0-phpinfo.patch b/php-8.0.0-phpinfo.patch
new file mode 100644
index 0000000..e86af79
--- /dev/null
+++ b/php-8.0.0-phpinfo.patch
@@ -0,0 +1,44 @@
+
+Drop "Configure Command" from phpinfo as it doesn't
+provide any useful information.
+The available extensions are not related to this command.
+
+Replace full GCC name by gcc in php -v output
+
+diff -up ./ext/standard/info.c.phpinfo ./ext/standard/info.c
+--- ./ext/standard/info.c.phpinfo 2020-07-21 10:49:31.000000000 +0200
++++ ./ext/standard/info.c 2020-07-21 11:41:56.295633523 +0200
+@@ -804,9 +804,6 @@ PHPAPI ZEND_COLD void php_print_info(int
+ #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 ./ext/standard/tests/general_functions/phpinfo.phpt.phpinfo ./ext/standard/tests/general_functions/phpinfo.phpt
+--- ./ext/standard/tests/general_functions/phpinfo.phpt.phpinfo 2020-07-21 10:49:31.000000000 +0200
++++ ./ext/standard/tests/general_functions/phpinfo.phpt 2020-07-21 11:41:56.296633522 +0200
+@@ -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
+diff -up ./sapi/cli/php_cli.c.phpinfo ./sapi/cli/php_cli.c
+--- ./sapi/cli/php_cli.c.phpinfo 2020-07-21 11:43:38.812475300 +0200
++++ ./sapi/cli/php_cli.c 2020-07-21 11:43:45.783464540 +0200
+@@ -643,8 +643,7 @@ static int do_cli(int argc, char **argv)
+ "NTS "
+ #endif
+ #ifdef COMPILER
+- COMPILER
+- " "
++ "gcc "
+ #endif
+ #ifdef ARCHITECTURE
+ ARCHITECTURE