---
title: Enabling App and API Protection for PHP
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > App and API Protection > Enabling App and API
  Protection > Enabling App and API Protection for PHP
---

# Enabling App and API Protection for PHP

{% 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). ().
{% /alert %}

{% /callout %}

{% alert level="info" %}
Your platform may be compatible with Datadog's [Single Step Instrumentation](https://docs.datadoghq.com/tracing/trace_collection/automatic_instrumentation/single-step-apm), which automatically instruments your services at startup from the Datadog Agent.
{% /alert %}

## Overview{% #overview %}

App and API Protection leverages the [Datadog PHP library](https://github.com/DataDog/dd-trace-php/) to monitor and secure your PHP service. The library integrates seamlessly with your existing application without requiring code changes.

For detailed compatibility information, including supported PHP versions, frameworks, and deployment environments, see [PHP Compatibility Requirements](https://docs.datadoghq.com/security/application_security/setup/php/compatibility).

## Environments{% #environments %}

### Hosts{% #hosts %}
.appsec-integrations .card img{width:80px;height:80px}.appsec-integrations .card:hover{scale:1.03;transition:scale .3s ease-in-out}.appsec-integrations .card{scale:1;transition:scale .3s ease-in-out}
- Linux

### Container Platforms{% #container-platforms %}
.appsec-integrations .card img{width:80px;height:80px}.appsec-integrations .card:hover{scale:1.03;transition:scale .3s ease-in-out}.appsec-integrations .card{scale:1;transition:scale .3s ease-in-out}
- Docker
- Kubernetes

### AWS{% #aws %}
.appsec-integrations .card img{width:80px;height:80px}.appsec-integrations .card:hover{scale:1.03;transition:scale .3s ease-in-out}.appsec-integrations .card{scale:1;transition:scale .3s ease-in-out}
- AWS Fargate

### Google Cloud Platform{% #google-cloud-platform %}
.appsec-integrations .card img{width:80px;height:80px}.appsec-integrations .card:hover{scale:1.03;transition:scale .3s ease-in-out}.appsec-integrations .card{scale:1;transition:scale .3s ease-in-out}
- Google Cloud Run

### Microsoft Azure{% #microsoft-azure %}
.appsec-integrations .card img{width:80px;height:80px}.appsec-integrations .card:hover{scale:1.03;transition:scale .3s ease-in-out}.appsec-integrations .card{scale:1;transition:scale .3s ease-in-out}
- Azure App Service

## Additional Resources{% #additional-resources %}

- [Troubleshooting Guide](https://docs.datadoghq.com/security/application_security/setup/php/troubleshooting)
- [Compatibility Information](https://docs.datadoghq.com/security/application_security/setup/php/compatibility)
