Ai
116 Star 2 Fork 36

src-openEuler/php
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
php-8.4.0-phpinfo.patch 1.60 KB
一键复制 编辑 原始数据 按行查看 历史
Funda Wang 提交于 2025-03-16 19:13 +08:00 . 8.4.5
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 2024-10-08 15:57:40.000000000 +0200
+++ ./ext/standard/info.c 2024-10-08 16:10:11.330510009 +0200
@@ -814,9 +814,6 @@ PHPAPI ZEND_COLD void php_print_info(int
#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 -up ./ext/standard/tests/general_functions/phpinfo.phpt.phpinfo ./ext/standard/tests/general_functions/phpinfo.phpt
--- ./ext/standard/tests/general_functions/phpinfo.phpt.phpinfo 2024-10-08 16:12:47.009579597 +0200
+++ ./ext/standard/tests/general_functions/phpinfo.phpt 2024-10-08 16:12:52.273784836 +0200
@@ -17,7 +17,6 @@ PHP Version => %s
System => %s
Build Date => %r(.+?)%r
-Configure Command => %s
Server API => Command Line Interface
Virtual Directory Support => %s
Configuration File (php.ini) Path => %s
diff -up ./main/main.c.phpinfo ./main/main.c
--- ./main/main.c.phpinfo 2024-10-08 15:57:40.000000000 +0200
+++ ./main/main.c 2024-10-08 16:10:11.331510049 +0200
@@ -118,7 +118,7 @@ PHPAPI char *php_get_version(sapi_module
"NTS"
#endif
#ifdef PHP_BUILD_COMPILER
- " " PHP_BUILD_COMPILER
+ " gcc"
#endif
#ifdef PHP_BUILD_ARCH
" " PHP_BUILD_ARCH
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/php.git
git@gitee.com:src-openeuler/php.git
src-openeuler
php
php
master

搜索帮助