﻿---
title: Agent is not instrumenting code
description: If you see a similar entry in the agent log, this indicates an incorrect open_basedir configuration. For more details see the corresponding Limitations...
url: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4384/troubleshoot/observability/apm/_agent_is_not_instrumenting_code
products:
  - APM Agent
---

# Agent is not instrumenting code
## `open_basedir` PHP configuration option

If you see a similar entry in the agent log, this indicates an incorrect open_basedir configuration. For more details see [the corresponding Limitations sub-section](https://docs-v3-preview.elastic.dev/elastic/apm-agent-php/tree/main/reference/set-up-apm-php-agent#limitation-open_basedir).
```
[Elastic APM PHP Tracer] 2023-08-23 14:38:12.223397+02:00 [PID: 268995] [TID: 268995] [WARNING]  [Lifecycle] [lifecycle.cpp:558] [elasticApmModuleInit] Elastic Agent bootstrap file (/home/paplo/sources/apm-agent-php/agent/php/bootstrap_php_part.php) is located outside of paths allowed by open_basedir ini setting. Read more details here https://www.elastic.co/guide/en/apm/agent/php/current/setup.html
```