Microsoft SQL Server Extensions
These extensions enable PHP to connect to Microsoft SQL Server databases.sqlsrv
Available in: All images The Microsoft Drivers for PHP for SQL Server extension. Provides a procedural API for accessing SQL Server.pdo_sqlsrv
Available in: All images PDO driver for SQL Server. Enables SQL Server database access through PHP’s PDO interface.Core PHP Extensions
These extensions are included in all image variants (CLI, FPM, Alpine, and Swoole).bcmath
Available in: All images Binary Calculator - arbitrary precision mathematics. Essential for financial calculations.ds
Available in: All images Data Structures extension - efficient data structures for PHP including Vector, Deque, Map, Set, Stack, Queue, and PriorityQueue.exif
Available in: All images Enables reading of meta information from image files (JPEG, TIFF).gd
Available in: All images Image processing library for creating and manipulating images.intl
Available in: All images Internationalization extension - provides collation, date/time formatting, number formatting, and more.opcache
Available in: All images Improves PHP performance by storing precompiled script bytecode in shared memory.Recommended for production environments to significantly improve performance.
pcntl
Available in: All images Process Control support - enables process forking and signal handling.redis
Available in: All images PHP extension for Redis - provides an API for communicating with Redis servers.zip
Available in: All images Enables reading and writing of ZIP compressed archives.CLI-Only Extensions
These extensions are only included in CLI image variants.pcov
Available in: CLI images only (*-cli, *-cli-alpine, *-cli-alpine-swoole)
Code coverage driver for PHP. Faster alternative to Xdebug for code coverage.
Swoole Extension
swoole
Available in: Swoole images only (*-swoole variants)
High-performance asynchronous programming framework for PHP. Enables coroutines, async I/O, and HTTP/WebSocket servers.
Extension Installation Method
All PHP extensions are installed using the mlocati/php-extension-installer tool, which automatically handles dependencies and configuration.Extension Versions
Extension versions may vary between builds as they are pulled from the latest stable releases during image builds. Images are rebuilt weekly to include the latest updates.Matrix by Image Type
| Extension | CLI (Debian) | FPM (Debian) | CLI (Alpine) | FPM (Alpine) | Swoole variants |
|---|---|---|---|---|---|
| sqlsrv | ✓ | ✓ | ✓ | ✓ | ✓ |
| pdo_sqlsrv | ✓ | ✓ | ✓ | ✓ | ✓ |
| bcmath | ✓ | ✓ | ✓ | ✓ | ✓ |
| ds | ✓ | ✓ | ✓ | ✓ | ✓ |
| exif | ✓ | ✓ | ✓ | ✓ | ✓ |
| gd | ✓ | ✓ | ✓ | ✓ | ✓ |
| intl | ✓ | ✓ | ✓ | ✓ | ✓ |
| opcache | ✓ | ✓ | ✓ | ✓ | ✓ |
| pcntl | ✓ | ✓ | ✓ | ✓ | ✓ |
| redis | ✓ | ✓ | ✓ | ✓ | ✓ |
| zip | ✓ | ✓ | ✓ | ✓ | ✓ |
| pcov | ✓ | - | ✓ | - | ✓ (CLI only) |
| swoole | - | - | - | - | ✓ |
