Compatibility
Platform compatibility, and features available in different SDK versions, and compatibility between Server and SDK. Plus notes on Cloud, networks, and AWS Lambda.
The Couchbase PHP SDK generally tracks PHP’s own supported versions, and recommends the most recent "Active Support" version, except as specified in our documentation and especially the release notes.
As of June 2024, these versions are PHP 8.3 (Latest Active Support), 8.2 (Active Support), and 8.1 (Security Support) — see the table below for supported versions and dates.
Platform Compatibility
PHP Version Compatibility
The Couchbase PHP SDK aims to support all supported versions of PHP. The table below indicates the PHP SDK version where support of a version of PHP was added. PHP versions that have reached their End-of-Life date are not supported.
| PHP Version | Security Support EOL | Couchbase SDK Versions Supported |
|---|---|---|
8.2 |
until 2026-12-31 |
from 4.1.0 |
8.3 |
until 2027-12-31 |
from 4.1.6 |
8.4 |
until 2028-12-31 |
from 4.2.5 |
8.5 |
until 2029-12-31 |
from 4.5.0 |
OS Compatibility
In general, the SDK can be expected to run on all of the Operating Systems supported by Couchbase Server.
However, the PHP SDK is tested and supported specifically on the following OSs and platforms:
GNU/Linux
-
Amazon Linux 2 & AL2023.
-
Red Hat Enterprise Linux 8, 9, & 10.
-
Oracle Linux 8, 9, & 10.
-
Ubuntu (LTS) 22.04 (Jammy) & 24.04 (Noble).
-
Debian 11 (Bullseye), Debian 12 (Bookworm), & Debian 13 (Trixie).
-
SUSE Enterprise Linux 12 & 15.
-
Alpine Linux 3.21 - 3.23.
Microsoft Windows
-
Microsoft Windows 10 & 11;
-
Windows Server 2019, 2022, & 2025.
Mac OS X
-
The current and previous two releases of OS X. At time of writing (March 2026): 26 (Tahoe), 15 (Sequoia), and 14 (Sonoma).
x86-32 Processor Not Supported
Use of the PHP SDK on legacy or embedded 32-bit platforms is not supported.
While the SDK can be compiled for 32-bit version of x86 platform, there are complications in use from working around number handling in the API, including use of unsigned integers, and it is not generally tested and supported.