Skip to content

Commit 03c0a74

Browse files
Merge pull request #21202 from zsistla/patch-14
PHP Agent release v12.0.0
2 parents 919fb24 + f80b343 commit 03c0a74

File tree

3 files changed

+61
-3
lines changed

3 files changed

+61
-3
lines changed

src/content/docs/apm/agents/php-agent/configuration/php-agent-configuration.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3939,7 +3939,7 @@ This section lists the settings that affect the reporting of code-level metrics.
39393939
</th>
39403940

39413941
<td>
3942-
`true`
3942+
`false`
39433943
</td>
39443944
</tr>
39453945
</tbody>
@@ -3949,7 +3949,8 @@ This section lists the settings that affect the reporting of code-level metrics.
39493949

39503950
<Callout variant="important">
39513951
The `newrelic.code_level_metrics.enabled` INI variable was added in the 10.4.0.316 release and was disabled by default.
3952-
Code-level metrics are enabled by default starting with version 10.6.0.
3952+
Code-level metrics are enabled by default for versions 10.6.0 - 11.10.0.
3953+
Code-level metrics are disabled by default starting with version 12.0.0.
39533954
</Callout>
39543955
</Collapser>
39553956

src/content/docs/apm/agents/php-agent/features/php-code-level-metrics.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Code-level metrics allow developers using the [New Relic CodeStream extension](/
1515
First, [install](/docs/codestream/start-here/install-codestream) the New Relic CodeStream extension into your supported IDE of choice and log in.
1616

1717
<Callout variant="important">
18-
Code-level metrics are available in the PHP agent version 10.4.0 or higher, and enabled by default for versions 10.6.0 and higher. To change this configuration, check out our [documentation](/docs/apm/agents/php-agent/configuration/php-agent-configuration/#inivar-code-level-metrics).
18+
Code-level metrics are available in the PHP agent version 10.4.0 or higher and disabled by default for all versions except for versions 10.6.0 - 11.10.0 where it is enabled by default. To change this configuration, check out our [documentation](/docs/apm/agents/php-agent/configuration/php-agent-configuration/#inivar-code-level-metrics).
1919
</Callout>
2020

2121
## Agent attributes
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
subject: PHP agent
3+
releaseDate: '2025-08-11'
4+
version: 12.0.0.25
5+
downloadLink: 'https://download.newrelic.com/php_agent/archive/12.0.0.25'
6+
features: ['Observability in IDE: Code-Level metrics is disabled by default.', "Removed code for instrumenting Guzzle 3.x", "Removed code for instrumenting Kohana", "Removed code for instrumenting Silex", "Removed code for instrumenting Symfony 1.x-3.x", "Removed code for instrumenting Zend 1.x-2.x"]
7+
bugs: ['Improve drupal hook map error logging.', 'Fix legacy package detection issues']
8+
security: []
9+
---
10+
11+
## New Relic PHP agent v12.0.0.25
12+
13+
### Bug fixes
14+
15+
* Improve drupal hook map error logging.
16+
* Fix legacy package detection issues for [Security RX](https://docs.newrelic.com/docs/vulnerability-management/overview/).
17+
18+
### Notice
19+
20+
#### Default value for `newrelic.code_level_metrics.enabled` INI has changed in this release
21+
22+
As previously communicated, the default Code Level Metrics [Observability in IDE](https://docs.newrelic.com/docs/codestream/observability/code-level-metrics/) configuration will change in an this release from enabled to disabled. If you do not use Code Level Metrics, you should see no impact and will not have to take any action. If you do rely on [Code Level Metrics](https://docs.newrelic.com/docs/apm/agents/php-agent/features/php-code-level-metrics/), ensure that your newrelic.ini configuration file has the `newrelic.code_level_metrics.enabled` INI setting uncommented and set to true.
23+
e.g:
24+
```
25+
newrelic.code_level_metrics.enabled = true
26+
```
27+
This change only impacts the default configuration value. Manually set configuration values will be honored, and core CLM behavior will remain unaffected.
28+
29+
### Support statement
30+
31+
* As previously communicated, the following frameworks/libraries that the PHP Agent has previously EOL'd support for will be removed in the this release:
32+
33+
* Guzzle 3.x
34+
* Kohana
35+
* Silex
36+
* Symfony 1.x-3.x
37+
* Zend 1.x-2.x
38+
39+
* PHP Agent support for the following library/framework versions will end September 30, 2025:
40+
41+
* WordPress 5.9
42+
* Drupal 8.x
43+
* Laravel 6.x, 8.x
44+
* PHPUnit 8.x
45+
46+
* New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. For more information on supported agent versions and EOL timelines, check out our [New Relic PHP Agent EOL policy](https://docs.newrelic.com/docs/apm/agents/php-agent/getting-started/php-agent-eol-policy/).
47+
* The [PHP agent compatibility and requirements](https://docs.newrelic.com/docs/apm/agents/php-agent/getting-started/php-agent-compatibility-requirements/) page should be consulted for the latest information on supported PHP versions and platforms.
48+
49+
<Callout variant="important">
50+
**For installations using an unsupported PHP version or platform, it's highly recommended that you disable the auto-update mechanisms for the PHP agent packages.** This can be done by adding the PHP agent packages to an exclusion list for package upgrades. Or you could version pin the PHP agent package to an agent version that supports the old, unsupported feature(s). Failure to prevent upgrades may result in a newer agent release being installed and the removal of support for the required, unsupported features. This would disrupt APM data collection.
51+
52+
The PHP agent packages that are affected are:
53+
54+
* newrelic-php5
55+
* newrelic-php5-common
56+
* newrelic-daemon
57+
</Callout>

0 commit comments

Comments
 (0)