Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.

Commit f94ac69

Browse files
committed
update extensions
1 parent 9c086d2 commit f94ac69

File tree

4 files changed

+198
-160
lines changed

4 files changed

+198
-160
lines changed

docs/en/guide/extension-notes.md

+19
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,22 @@ The compiled `./php` binary can be configured and run by specifying the INI, eg
7171
## rar
7272

7373
1. The rar extension currently has a problem when compiling phpmicro with the `common` extension collection in the macOS x86_64 environment.
74+
75+
## mongodb
76+
77+
1. mongodb does not support macOS for the time being because there are some issues with the driver. Track issue [here](https://github.com/crazywhalecc/static-php-cli/issues/281).
78+
79+
## pgsql
80+
81+
pgsql ssl connection is not compatible with openssl 3.2.0. See:
82+
83+
- https://github.com/Homebrew/homebrew-core/issues/155651
84+
- https://github.com/Homebrew/homebrew-core/pull/155699
85+
- https://github.com/postgres/postgres/commit/c82207a548db47623a2bfa2447babdaa630302b9
86+
87+
## snappy
88+
89+
Snappy configuration may break features of other extensions. Use with caution. See:
90+
91+
- https://github.com/kjdev/php-ext-snappy/issues/24
92+
- https://github.com/crazywhalecc/static-php-cli/issues/285

docs/en/guide/extensions.md

+80-80
Original file line numberDiff line numberDiff line change
@@ -6,86 +6,86 @@
66
> - no with issue link: not supported yet due to issue
77
> - partial with issue link: supported but not perfect due to issue
88
9-
| | Linux | macOS | FreeBSD | Windows |
10-
|------------------------------------|---------------|---------------|---------------|---------|
11-
| apcu | yes, untested | yes, untested | yes, untested | |
12-
| bcmath | yes | yes | yes | |
13-
| bz2 | yes | yes | yes | |
14-
| calendar | yes | yes | yes | |
15-
| ctype | yes | yes | yes | |
16-
| curl | yes | yes | yes | |
17-
| dba | yes | yes | yes | |
18-
| dom | yes | yes | | |
19-
| enchant | | | | |
20-
| event | yes | yes | | |
21-
| exif | yes | yes | yes | |
22-
| ffi | yes | yes | | |
23-
| filter | yes | yes | yes | |
24-
| fileinfo | yes | yes | yes | |
25-
| ftp | yes | yes | yes | |
26-
| [gd](./extension-notes#gd) | yes | yes | | |
27-
| gettext | | | | |
28-
| [glfw](./extension-notes#glfw) | no | yes | no | |
29-
| gmp | yes | yes | | |
30-
| iconv | yes | yes | | |
31-
| imagick | yes | yes | | |
32-
| [imap](./extension-notes#imap) | yes | yes | | |
33-
| inotify | yes | no | | |
34-
| intl | yes | yes | | |
35-
| ldap | yes | yes | | |
36-
| mbstring | yes | yes | yes | |
37-
| mbregex | yes | yes | yes | |
38-
| [mcrypt](./extension-notes#mcrypt) | no | no | no | |
39-
| memcache | yes, untested | yes, untested | | |
40-
| memcached | no | yes, untested | | |
41-
| mongodb | yes | yes | | |
42-
| mysqli | yes | yes | yes | |
43-
| mysqlnd | yes | yes | yes | |
44-
| [oci8](./extension-notes#oci8) | no | no | no | |
45-
| opcache | yes | yes | yes | |
46-
| openssl | yes | yes | yes | |
47-
| password-argon2 | | | | |
48-
| pcntl | yes | yes | yes | |
49-
| pdo | yes | yes | yes | |
50-
| pdo_mysql | yes | yes | yes | |
51-
| pdo_sqlite | yes | yes | | |
52-
| pdo_pgsql | yes | yes | | |
53-
| pgsql | yes | yes | | |
54-
| phar | yes | yes | yes | |
55-
| posix | yes | yes | yes | |
56-
| protobuf | yes | yes | | |
57-
| pspell | | | | |
58-
| [rar](./extension-notes#rar) | yes | partial | | |
59-
| rdkafka | | | | |
60-
| readline | yes, untested | yes, untested | | |
61-
| redis | yes | yes | | |
62-
| session | yes | yes | yes | |
63-
| shmop | yes | yes | yes | |
64-
| simplexml | yes | yes | | |
65-
| snappy | yes, untested | yes, untested | | |
66-
| soap | yes | yes | | |
67-
| sockets | yes | yes | yes | |
68-
| sodium | yes | yes | | |
69-
| sqlite3 | yes | yes | | |
70-
| [sqlsrv](./extension-notes#sqlsrv) | no | no | no | |
71-
| ssh2 | yes | yes | | |
72-
| [swow](./extension-notes#swow) | yes | yes | | |
73-
| [swoole](./extension-notes#swoole) | partial | yes | | |
74-
| sysvmsg | yes | yes | | |
75-
| sysvsem | yes | yes | | |
76-
| sysvshm | yes | yes | | |
77-
| tidy | yes | yes | | |
78-
| tokenizer | yes | yes | yes | |
79-
| [xdebug](./extension-notes#xdebug) | no | no | no | |
80-
| xlswriter | yes | yes | | |
81-
| [xml](./extension-notes#xml) | yes | yes | | |
82-
| xmlreader | yes, untested | yes, untested | | |
83-
| xmlwriter | yes, untested | yes, untested | | |
84-
| xsl | yes, untested | yes, untested | | |
85-
| yaml | yes | yes | | |
86-
| zip | yes | yes | | |
87-
| zlib | yes | yes | yes | |
88-
| zstd | yes | yes | | |
9+
| | Linux | macOS | FreeBSD | Windows |
10+
|--------------------------------------|---------------|---------------|---------------|---------|
11+
| apcu | yes, untested | yes, untested | yes, untested | |
12+
| bcmath | yes | yes | yes | |
13+
| bz2 | yes | yes | yes | |
14+
| calendar | yes | yes | yes | |
15+
| ctype | yes | yes | yes | |
16+
| curl | yes | yes | yes | |
17+
| dba | yes | yes | yes | |
18+
| dom | yes | yes | | |
19+
| enchant | | | | |
20+
| event | yes | yes | | |
21+
| exif | yes | yes | yes | |
22+
| ffi | yes | yes | | |
23+
| filter | yes | yes | yes | |
24+
| fileinfo | yes | yes | yes | |
25+
| ftp | yes | yes | yes | |
26+
| [gd](./extension-notes#gd) | yes | yes | | |
27+
| gettext | | | | |
28+
| [glfw](./extension-notes#glfw) | no | yes | no | |
29+
| gmp | yes | yes | | |
30+
| iconv | yes | yes | | |
31+
| imagick | yes | yes | | |
32+
| [imap](./extension-notes#imap) | yes | yes | | |
33+
| inotify | yes | no | | |
34+
| intl | yes | yes | | |
35+
| ldap | yes | yes | | |
36+
| mbstring | yes | yes | yes | |
37+
| mbregex | yes | yes | yes | |
38+
| [mcrypt](./extension-notes#mcrypt) | no | no | no | |
39+
| memcache | yes, untested | yes, untested | | |
40+
| memcached | no | yes, untested | | |
41+
| [mongodb](./extension-notes#mongodb) | yes | no | | |
42+
| mysqli | yes | yes | yes | |
43+
| mysqlnd | yes | yes | yes | |
44+
| [oci8](./extension-notes#oci8) | no | no | no | |
45+
| opcache | yes | yes | yes | |
46+
| openssl | yes | yes | yes | |
47+
| password-argon2 | | | | |
48+
| pcntl | yes | yes | yes | |
49+
| pdo | yes | yes | yes | |
50+
| pdo_mysql | yes | yes | yes | |
51+
| pdo_sqlite | yes | yes | | |
52+
| pdo_pgsql | yes | yes | | |
53+
| [pgsql](./extension-notes#pgsql) | partial | partial | | |
54+
| phar | yes | yes | yes | |
55+
| posix | yes | yes | yes | |
56+
| protobuf | yes | yes | | |
57+
| pspell | | | | |
58+
| [rar](./extension-notes#rar) | yes | partial | | |
59+
| rdkafka | | | | |
60+
| readline | yes, untested | yes, untested | | |
61+
| redis | yes | yes | | |
62+
| session | yes | yes | yes | |
63+
| shmop | yes | yes | yes | |
64+
| simplexml | yes | yes | | |
65+
| [snappy](./extension-notes#snappy) | partial | partial | | |
66+
| soap | yes | yes | | |
67+
| sockets | yes | yes | yes | |
68+
| sodium | yes | yes | | |
69+
| sqlite3 | yes | yes | | |
70+
| [sqlsrv](./extension-notes#sqlsrv) | no | no | no | |
71+
| ssh2 | yes | yes | | |
72+
| [swow](./extension-notes#swow) | yes | yes | | |
73+
| [swoole](./extension-notes#swoole) | partial | yes | | |
74+
| sysvmsg | yes | yes | | |
75+
| sysvsem | yes | yes | | |
76+
| sysvshm | yes | yes | | |
77+
| tidy | yes | yes | | |
78+
| tokenizer | yes | yes | yes | |
79+
| [xdebug](./extension-notes#xdebug) | no | no | no | |
80+
| xlswriter | yes | yes | | |
81+
| [xml](./extension-notes#xml) | yes | yes | | |
82+
| xmlreader | yes, untested | yes, untested | | |
83+
| xmlwriter | yes, untested | yes, untested | | |
84+
| xsl | yes, untested | yes, untested | | |
85+
| yaml | yes | yes | | |
86+
| zip | yes | yes | | |
87+
| zlib | yes | yes | yes | |
88+
| zstd | yes | yes | | |
8989

9090
::: tip
9191
If an extension you need is missing, you can create a [Feature Request](https://github.com/crazywhalecc/static-php-cli/issues).

docs/zh/guide/extension-notes.md

+19
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,22 @@ bin/spc build gd --with-libs=freetype,libjpeg,libavif,libwebp --build-cli
6161
## rar
6262

6363
1. rar 扩展目前在 macOS x86_64 环境下与 `common` 扩展集合编译 phpmicro 存在问题。
64+
65+
## mongodb
66+
67+
1. mongodb暂时不支持macOS因为驱动存在一些问题。在 [此处](https://github.com/crazywhalecc/static-php-cli/issues/281) 跟踪进度。
68+
69+
## pgsql
70+
71+
pgsql ssl 连接与 openssl 3.2.0 不兼容。相关链接:
72+
73+
- https://github.com/Homebrew/homebrew-core/issues/155651
74+
- https://github.com/Homebrew/homebrew-core/pull/155699
75+
- https://github.com/postgres/postgres/commit/c82207a548db47623a2bfa2447babdaa630302b9
76+
77+
## snappy
78+
79+
Snappy 配置可能会破坏其他扩展的功能,请谨慎使用。相关链接:
80+
81+
- https://github.com/kjdev/php-ext-snappy/issues/24
82+
- https://github.com/crazywhalecc/static-php-cli/issues/285

0 commit comments

Comments
 (0)