Skip to main content

PHP Agent Support Matrix

warning
  1. Unofficial or unlisted extensions/modules are not supported. These modules may conflict with the agent, please thoroughly validate in test environment before deploying to production; if support is needed, please submit an adaptation request.
  2. PHP modules that use the same hooking technology as the agent may have conflict risks, such as certain encryption/decryption modules, low-level extensions, agents from other vendors, and the Xdebug module. If conflicts occur, please reproduce and troubleshoot in the test environment first.
  3. Changes in agent versions may affect support for Apache graceful restarts (i.e., some agent versions may not be compatible with Apache's graceful restart behavior), please validate before going live.
  4. For Alpine/musl, special distributions, or very old systems (such as early Ubuntu/RedHat versions), it is recommended to perform compatibility testing in the target environment first.
  5. When using multi-threading/asynchronous extensions (such as Swoole, etc.), please refer to the agent documentation and the extension's compatibility notes to avoid undefined behaviors.
  6. Automatic monitoring of PHP applications requires a valid php.ini configuration file on the system. Check whether the PHP configuration file exists and its load path with the following command: php --ini If the command output contains a valid Loaded Configuration File path and the corresponding php.ini file exists, the configuration requirement for automatic monitoring is met.
  7. Only the minimum and maximum minor versions of each major version have been tested and verified.

Operating Systems​

System TypeSupported Versions
CentOS6.0+
RedHat5.1+
Ubuntu10.4+
SUSE12.1+
Debian5.0+
openSUSE12.1+
KylinGalaxy Kylin V10

PHP Versions​

TypeSupported Versions
PHP5.2.14+
PHP5.3+
PHP5.4+
PHP5.5+
PHP5.6+
PHP7.0+
PHP7.1+
PHP7.2+
PHP7.3+
PHP7.4+
PHP8.0+
PHP8.1.7
Supported starting from phpagent-7.6.0, corresponding to smartagent 7.2.0

Containers​

Container TypeSupported Versions
Apache2.2+ (thread-safe and non-thread-safe)
Nginx + PHP-FPM
Alpine3.7.3 ~ 3.18.2

Databases​

TypeSupported Versions
MySQLmysql.so, mysqli.so, pdo_mysql.so
SQLitepdo_sqlite, sqlite3
Oracleoci8.so-2.2.0, pdo_oci.so
PostgreSQLpgsql.so, pdo_pgsql.so

NoSQL​

TypeSupported Versions
Redisredis.so: 5.3.7
predis: 2.0.0
MongoDBmongodb.so: 1.1.8 ~ 1.13.0
mongo.so: 1.6.16
Memcachedmemcached.so-1.0.18, memcache.so

Remote Calls​

TypeSupported Versions
HTTPcurl.so, fopen, file_get_contents

MQ​

TypeSupported Versions
RdKafka1.0.0 ~ 6.0.1
AMQP2.9 ~ 3.1.2

Supported Frameworks​

Framework
ThinkPHP
Laravel
Yii

Other​

FeatureNotes
Solr2.5.1 (solr.so)
Swooleswoole.so-V4.5.2, 4.8.1
JavaScript injection not supported