Skip to content

### Linux ​

Extension Name | Required Extensions | Suggested Extensions | Required Libraries | Suggested Libraries
--- | --- | --- | --- | ---
amqp |  |  | librabbitmq |
bz2 |  |  | bzip2 |
curl |  |  | curl |
dba |  |  |  | qdbm
dom |  |  | libxml2 zlib |
event | openssl | sockets | libevent |
ftp |  |  |  | openssl
gd | zlib |  | zlib libpng | libavif libwebp libjpeg freetype
gettext |  |  | gettext |
gmp |  |  | gmp |
gmssl |  |  | gmssl |
grpc |  |  | grpc |
iconv |  |  | libiconv |
igbinary |  | session apcu |  |
imagick |  |  | imagemagick |
imap |  | openssl | imap |
intl |  |  | icu |
ldap |  | openssl | ldap | gmp libsodium
libxml | xml |  |  |
mbregex | mbstring |  | onig |
memcache | session |  | zlib |
mongodb |  |  |  | icu openssl zstd zlib
mysqli | mysqlnd |  |  |
mysqlnd |  |  | zlib |
openssl | zlib |  | openssl zlib |
password-argon2 |  |  | libargon2 |
pdo_mysql | pdo mysqlnd |  |  |
pdo_pgsql | pdo pgsql |  | postgresql |
pdo_sqlite | pdo sqlite3 |  | sqlite |
pdo_sqlsrv | pdo sqlsrv |  |  |
pgsql |  |  | postgresql |
phar | zlib |  |  |
rdkafka |  |  | librdkafka |
readline |  |  | readline |
redis |  | session igbinary |  | zstd liblz4
simplexml |  |  | libxml2 |
snappy |  | apcu | snappy |
soap |  |  | libxml2 |
sodium |  |  | libsodium |
spx |  |  | zlib |
sqlite3 |  |  | sqlite |
sqlsrv | pcntl |  | unixodbc |
ssh2 |  |  | libssh2 |
swoole | openssl curl | swoole-hook-pgsql swoole-hook-mysql swoole-hook-sqlite | libcares brotli nghttp2 zlib |
swoole-hook-mysql | mysqlnd pdo pdo_mysql | mysqli |  |
swoole-hook-pgsql | pgsql pdo |  |  |
swoole-hook-sqlite | sqlite3 pdo |  |  |
swow |  | openssl curl |  | openssl curl
tidy |  |  | tidy |
uuid |  |  | libuuid |
uv | sockets |  | libuv |
xhprof | ctype |  |  |
xlswriter | zlib zip |  |  | openssl
xml |  |  | libxml2 |
xmlreader |  |  | libxml2 |
xmlwriter |  |  | libxml2 |
xsl | xml dom |  | libxslt |
yac | igbinary |  |  |
yaml |  |  | libyaml |
zip |  |  | libzip |
zlib |  |  | zlib |
zstd |  |  | zstd |

### macOS ​

Extension Name | Required Extensions | Suggested Extensions | Required Libraries | Suggested Libraries
--- | --- | --- | --- | ---
amqp |  |  | librabbitmq |
bz2 |  |  | bzip2 |
curl |  |  | curl |
dba |  |  |  | qdbm
dom |  |  | libxml2 zlib |
event | openssl | sockets | libevent |
ffi |  |  | libffi |
ftp |  |  |  | openssl
gd | zlib |  | zlib libpng | libavif libwebp libjpeg freetype
gettext |  |  | gettext |
glfw |  |  | glfw |
gmp |  |  | gmp |
gmssl |  |  | gmssl |
grpc |  |  | grpc |
iconv |  |  | libiconv |
igbinary |  | session apcu |  |
imagick |  |  | imagemagick |
imap |  | openssl | imap |
intl |  |  | icu |
ldap |  | openssl | ldap | gmp libsodium
libxml | xml |  |  |
mbregex | mbstring |  | onig |
memcache | session |  | zlib |
memcached | session zlib |  | libmemcached |
mongodb |  |  |  | icu openssl zstd zlib
mysqli | mysqlnd |  |  |
mysqlnd |  |  | zlib |
openssl | zlib |  | openssl zlib |
password-argon2 |  |  | libargon2 |
pdo_mysql | pdo mysqlnd |  |  |
pdo_pgsql | pdo pgsql |  | postgresql |
pdo_sqlite | pdo sqlite3 |  | sqlite |
pdo_sqlsrv | pdo sqlsrv |  |  |
pgsql |  |  | postgresql |
phar | zlib |  |  |
rdkafka |  |  | librdkafka |
readline |  |  | readline |
redis |  | session igbinary |  | zstd liblz4
simplexml |  |  | libxml2 |
snappy |  | apcu | snappy |
soap |  |  | libxml2 |
sodium |  |  | libsodium |
spx |  |  | zlib |
sqlite3 |  |  | sqlite |
sqlsrv |  |  | unixodbc |
ssh2 |  |  | libssh2 |
swoole | openssl curl | swoole-hook-pgsql swoole-hook-mysql swoole-hook-sqlite | libcares brotli nghttp2 zlib |
swoole-hook-mysql | mysqlnd pdo pdo_mysql | mysqli |  |
swoole-hook-pgsql | pgsql pdo |  |  |
swoole-hook-sqlite | sqlite3 pdo |  |  |
swow |  | openssl curl |  | openssl curl
tidy |  |  | tidy |
uuid |  |  | libuuid |
uv | sockets |  | libuv |
xhprof | ctype |  |  |
xlswriter | zlib zip |  |  | openssl
xml |  |  | libxml2 |
xmlreader |  |  | libxml2 |
xmlwriter |  |  | libxml2 |
xsl | xml dom |  | libxslt |
yac | igbinary |  |  |
yaml |  |  | libyaml |
zip |  |  | libzip |
zlib |  |  | zlib |
zstd |  |  | zstd |

### Windows ​

Extension Name | Required Extensions | Suggested Extensions | Required Libraries | Suggested Libraries
--- | --- | --- | --- | ---
amqp | openssl |  | librabbitmq |
bz2 |  |  | bzip2 |
curl | zlib openssl |  | curl |
dba |  |  |  | qdbm
dom | xml |  | libxml2 zlib |
ffi |  |  | libffi-win |
ftp |  |  |  | openssl
gd | zlib |  | zlib libpng | libavif libwebp libjpeg freetype
gmssl |  |  | gmssl |
iconv |  |  | libiconv-win |
igbinary |  | session apcu |  |
libxml | xml |  |  |
mbregex | mbstring |  | onig |
mysqli | mysqlnd |  |  |
mysqlnd |  |  | zlib |
openssl | zlib |  | openssl zlib |
parallel |  |  | pthreads4w |
pdo_mysql | pdo mysqlnd |  |  |
pdo_sqlite | pdo sqlite3 |  | sqlite |
pdo_sqlsrv | pdo sqlsrv |  |  |
phar | zlib |  |  |
redis |  | session igbinary |  |
simplexml | xml |  | libxml2 |
soap | xml |  | libxml2 |
sqlite3 |  |  | sqlite |
ssh2 | openssl zlib |  | libssh2 |
swow |  | openssl curl |  | openssl curl
xml | iconv |  | libxml2 |
xmlreader | xml dom |  | libxml2 |
xmlwriter | xml |  | libxml2 |
yaml |  |  | libyaml |
zip | zlib bz2 |  | libzip zlib bzip2 xz |
zlib |  |  | zlib |

### FreeBSD ​

Extension Name | Required Extensions | Suggested Extensions | Required Libraries | Suggested Libraries
--- | --- | --- | --- | ---
bz2 |  |  | bzip2 |
curl |  |  | curl |
dba |  |  |  | qdbm
ftp |  |  |  | openssl
mbregex | mbstring |  | onig |
mysqli | mysqlnd |  |  |
mysqlnd |  |  | zlib |
openssl | zlib |  | openssl zlib |
pdo_mysql | pdo mysqlnd |  |  |
phar | zlib |  |  |
zlib |  |  | zlib |