System Requirements and Release Notes
P4 API for PHP is supported on Windows and Linux.
For system requirements, see the P4 API for PHP release notes.
Platform Compatibility
P4 API for PHP is certified and regression-tested on the following platforms:
Windows (x64)
-
Windows Server: 2016, 2019, 2022, 2025
Linux (x86_64)
-
Ubuntu: 22.04, 24.04
-
Rocky Linux: 9, 10
Linux (ARM64)
-
Ubuntu: 22.04, 24.04
-
Rocky Linux: 9, 10
Platforms not listed above are not actively tested by Perforce. P4 API for PHP may still run on other platforms, but issues on unlisted platforms are not prioritized for fixes.
PHP Compatibility
P4 API for PHP is compatible with the following PHP versions:
-
8.2.x
-
8.3.x
-
8.4.x
-
8.5.x
Server Compatibility
P4 API for PHP supports the P4 Server 2026.1.
Older server versions may work, but are not officially supported.
P4 API for C/C++ Compatibility
P4 API for PHP requires P4 API for C/C++ version 2026.1 or later. Older API versions will not compile and are not supported.
OpenSSL Compatibility
To enable encrypted communication, P4 API for PHP must be built using the same OpenSSL version as the P4 API for C/C++.
Since P4 API for C/C++ 2017.1, OpenSSL is a mandatory dependency (SSL stub library removed).
The 2026.1 server requires OpenSSL 3.x.x.
Compiler Compatibility
P4 API for PHP must be built with the same compiler used to build the P4 API for C/C++. The preferred compilers are gcc or g++.