Supported PHP versions
The different PHP versions have support timelines defined by PHP. Please refer to Supported PHP versions at php.net to see which versions are currently supported by PHP and when each version is planned for end of support.
- Deprecated versions don't receive updates or security patches, so running them in production should be avoided.
- Dynatrace is committed to supporting each PHP version for at least as long as the vendor supports it (in most cases, support extends for at least six months beyond this point).
See also Support for Early Adopter releases following this table.
|PHP version||Vendor released||Vendor End of life||First supported OneAgent version||Last supported OneAgent version||Dynatrace support until||Dynatrace support level|
|8.2 (Zend Engine 4.2)||2022-12-08||2025-12-08||1.253||-||-||Supported1|
|8.1 (Zend Engine 4.1)||2021-09-02||2024-11-25||1.227||-||-||Supported2|
|8.0 (Zend Engine 4.0)||2020-11-26||2023-11-26||1.207||-||-||Supported|
|7.4 (Zend Engine 3.4)||2019-11-28||2022-11-28||1.179||-||-||Supported|
|7.3 (Zend Engine 3.3)||2018-12-06||2021-12-06||1.169||-||-||Supported|
|7.2 (Zend Engine 3.2)||2017-11-30||2020-11-30||-||-||-||Supported|
|7.1 (Zend Engine 3.1)||2016-12-01||2019-12-01||-||-||-||Supported|
PHP 8.2 (from RC1 - before official PHP release up to 8.2.x) is supported.
PHP 8.1 (from RC1 to 8.1.x) is supported.
Support for Early Adopter releases
If there is Early Adopter support for a PHP version, it has a separate switch that enables you to opt in or out of monitoring for that version.
To enable an Early Adopter release of PHP monitoring in Dynatrace
- In the Dynatrace menu, go to Settings and select Monitoring > Monitored technologies.
- On the Supported technologies tab, find PHP and open it for editing.
- On the PHP page, turn on Enable PHP x monitoring on every host.
Important: Verify that your monitoring environment meets the requirements stated under the switch.
Messaging for unsupported versions
When OneAgent detects an unsupported PHP version, we exclude it from monitoring and display a warning in the process overview page:
Activation of deep monitoring was unsuccessful Process version is not supported
We also write the message to the error logs on the host machine.
See the environments and versions that Dynatrace supports in conjunction with PHP and the PHP supported versions.
- CLI monitoring is turned off by default, because, during a short-lived CLI execution, injection overhead may make up a large percentage of the whole runtime. You should refrain from using CLI monitoring when threading and forking is used for the monitored application, as these features aren't supported.
- At this point, there is no differentiation between CGI and Fast-CGI; these are reported as a single type: CGI.