---
title: PHP Compatibility Requirements
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > Code Security > Software Composition Analysis > Set
  up SCA in your running services > Compatibility Requirements > PHP
  Compatibility Requirements
---

# PHP Compatibility Requirements

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site.md). ().
{% /alert %}

{% /callout %}

## Code Security capabilities support{% #code-security-capabilities-support %}

The following code security capabilities are supported in the PHP library, for the specified tracer version:

| Code Security capability                    | Minimum PHP tracer version |
| ------------------------------------------- | -------------------------- |
| Runtime Software Composition Analysis (SCA) | 0.90.0                     |
| Runtime Code Analysis (IAST)                | not supported              |

{% alert level="info" %}
If you would like to see support added for any of the unsupported capabilities, let us know! Fill out [this short form to send details](https://forms.gle/gHrxGQMEnAobukfn7).
{% /alert %}

### Supported deployment types{% #supported-deployment-types %}

| Type        | Runtime Software Composition Analysis (SCA) | Runtime Code Analysis (IAST) |
| ----------- | ------------------------------------------- | ---------------------------- |
| Docker      | yes                                         |
| Kubernetes  | yes                                         |
| Amazon ECS  | yes                                         |
| AWS Fargate | yes                                         |
| AWS Lambda  |

## Language and framework compatibility{% #language-and-framework-compatibility %}

{% alert level="info" %}
**Note:** It's recommended to use [officially supported versions](https://www.php.net/supported-versions) of PHP, especially 8.0, 8.1 and 8.2.
{% /alert %}

| PHP Version | Support level        | Package version |
| ----------- | -------------------- | --------------- |
| 8.3.x       | General Availability | \> `0.95.0+`    |
| 8.2.x       | General Availability | \> `0.82.0+`    |
| 8.1.x       | General Availability | \> `0.66.0+`    |
| 8.0.x       | General Availability | \> `0.52.0+`    |
| 7.4.x       | General Availability | All             |
| 7.3.x       | General Availability | All             |
| 7.2.x       | General Availability | All             |
| 7.1.x       | General Availability | All             |
| 7.0.x       | General Availability | All             |

Code Security capabililties for PHP support the following SAPI's:

| SAPI           | Support type    |
| -------------- | --------------- |
| apache2handler | Fully Supported |
| cli            | Fully Supported |
| fpm-fcgi       | Fully Supported |
| cgi-fcgi       | Fully Supported |

## Supported processor architectures{% #supported-processor-architectures %}

Code Security capabililties for PHP support the following architectures:

| Processor architectures                | Support level | Package version |
| -------------------------------------- | ------------- | --------------- |
| Linux GNU amd64 (`x86-64-linux-gnu`)   | GA            | All             |
| Linux MUSL amd64 (`x86-64-linux-musl`) | GA            | All             |
| Linux GNU arm64 (aarch64-linux-gnu)    | GA            | \> `0.95.0`     |
| Linux MUSL arm64 (aarch64-linux-musl)  | GA            | \> `0.95.0`     |

The Datadog PHP library supports PHP version 7.0 and above on the following architectures:

- Linux (GNU) x86-64 and arm64
- Alpine Linux (musl) x86-64 and arm64

The library supports the use of all PHP frameworks, and also the use of no framework.
