summaryrefslogtreecommitdiffstats
path: root/64.patch
diff options
context:
space:
mode:
Diffstat (limited to '64.patch')
-rw-r--r--64.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/64.patch b/64.patch
new file mode 100644
index 0000000..f342d23
--- /dev/null
+++ b/64.patch
@@ -0,0 +1,31 @@
+From b3159e9d7d6ed9104246f183a3bad07e6cdfe187 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Tue, 20 Aug 2024 11:15:45 +0200
+Subject: [PATCH] report extension and python version
+
+---
+ phpy.cc | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/phpy.cc b/phpy.cc
+index 0690a0a..20f42b8 100644
+--- a/phpy.cc
++++ b/phpy.cc
+@@ -7,6 +7,7 @@
+ #include "php.h"
+ #include "ext/standard/info.h"
+ #include "php_phpy.h"
++#include <patchlevel.h>
+
+ /* {{{ PHP_RINIT_FUNCTION */
+ PHP_RINIT_FUNCTION(phpy)
+@@ -31,7 +32,8 @@ PHP_MINFO_FUNCTION(phpy)
+ php_info_print_table_row(2, "Copyright", "上海识沃网络科技有限公司");
+ php_info_print_table_row(2, "Email", "service@swoole.com");
+ php_info_print_table_row(2, "Website", "https://www.swoole.com/");
+- php_info_print_table_row(2, "Version", PHP_PHPY_VERSION);
++ php_info_print_table_row(2, "Extension Version", PHP_PHPY_VERSION);
++ php_info_print_table_row(2, "Python Version", PY_VERSION);
+ php_info_print_table_end();
+ }
+ /* }}} */