We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6149052 commit b97f5f0Copy full SHA for b97f5f0
patches/cli_static.patch renamed to patches/cli_static_80.patch
patches/cli_static_84.patch
@@ -0,0 +1,23 @@
1
+diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
2
+--- a/sapi/cli/php_cli.c (revision d3bf67d44102869f340a7be0e12f4f09de0edbcf)
3
++++ b/sapi/cli/php_cli.c (date 1735128770216)
4
+@@ -98,7 +98,7 @@
5
+
6
+ #if defined(PHP_WIN32)
7
+ #if defined(ZTS)
8
+-ZEND_TSRMLS_CACHE_DEFINE()
9
++//ZEND_TSRMLS_CACHE_DEFINE()
10
+ #endif
11
+ static DWORD orig_cp = 0;
12
13
+@@ -1137,6 +1137,10 @@
14
15
+ {
16
17
++ if (!php_win32_ioutil_init()) {
18
++ fprintf(stderr, "ioutil initialization failed");
19
++ return 1;
20
++ }
21
+ # ifdef PHP_CLI_WIN32_NO_CONSOLE
22
+ int argc = __argc;
23
+ char **argv = __argv;
0 commit comments