static-php-cli/ext-support.md

75 lines
8.8 KiB
Markdown
Raw Normal View History

2023-03-18 17:32:21 +08:00
# Extension List
> - yes: supported and tested
> - untested: supported, but not tested
2023-03-18 17:32:21 +08:00
> - empty: not supported yet
2023-04-15 18:56:05 +08:00
> - no with issue link: not supported yet due to issue
> - partial with issue link: supported but not perfect due to issue
2023-03-18 17:32:21 +08:00
2023-04-15 18:56:05 +08:00
| | Linux | macOS | Windows |
|------------|--------------------------------------------------------------------|---------------------------------------------------------------------|---------|
| bcmath | yes | yes | |
| bz2 | yes | yes | |
| calendar | yes | yes | |
| ctype | yes | yes | |
| curl | yes | yes | |
| date | yes | yes | |
| dba | yes | yes | |
| dom | yes | yes | |
| enchant | | | |
| event | | | |
| exif | yes | yes | |
| filter | yes | yes | |
| fileinfo | yes | | |
| ftp | yes | yes | |
| gd | yes, untested | yes | |
| gettext | | | |
| gmp | yes, untested | yes, untested | |
| iconv | yes | | |
| inotify | yes | yes | |
| mbstring | yes | yes | |
| mcrypt | | [faulty](https://github.com/crazywhalecc/static-php-cli/issues/32) | |
| mongodb | yes, untested | | |
| mysqli | | | |
| mysqlnd | yes | yes | |
| openssl | yes | yes | |
| pcntl | yes, untested | yes | |
| pdo | yes | yes | |
| pdo_mysql | yes | yes | |
| pdo_sqlite | yes | yes | |
| pdo_pgsql | | | |
| phar | yes | yes | |
| posix | yes | yes | |
| protobuf | yes, untested | | |
| readline | | | |
| redis | yes | yes | |
| session | yes | yes | |
| shmop | yes, untested | | |
| simplexml | yes, untested | yes, untested | |
| soap | yes, untested | | |
| sockets | yes | yes | |
| sqlite3 | yes, untested | yes, untested | |
| swow | yes | [faulty](https://github.com/crazywhalecc/static-php-cli/issues/32) | |
| swoole | [faulty](https://github.com/crazywhalecc/static-php-cli/issues/32) | [partial](https://github.com/crazywhalecc/static-php-cli/issues/32) | |
| tokenizer | yes | yes | |
| xml | yes | yes | |
| xmlreader | yes, untested | yes, untested | |
| xmlwriter | yes, untested | yes, untested | |
| zip | yes, untested | yes | |
| zlib | yes | yes | |
2023-03-18 19:58:36 +08:00
## Additional Requirements
- phpmicro requires PHP >= 8.0
- swoole >= 5.0 requires PHP >= 8.0
- swow requires PHP >= 8.0
2023-04-15 18:56:05 +08:00
## Limitations
- swow and swoole cannot be compiled at the same time.
- openssl needs manual configuration for ssl certificate. (TODO: I will write a wiki about it)
2023-03-18 19:58:36 +08:00
## Bugs
2023-03-18 20:08:54 +08:00
See [#32](https://github.com/crazywhalecc/static-php-cli/issues/32).