New Relic PHP agent v12.13.0.43
| PHP agent 12.13.0.43 tarball | SHA-256 hash |
|---|---|
| newrelic-php5-12.13.0.43-linux-musl.tar.gz | a7ac17752e5f686a31ac8bfc887cb256f24560a5c124183e22856906a521ed62 |
| newrelic-php5-12.13.0.43-linux.tar.gz | dca19d0a845b78dc9fc5e412c215d6534b0232428ab6e0eec05d9d82091e4f21 |
New Features
- Keep the mysqli link metadata for the life of the link. (#1325)
- Instrument
mysqli_execute_queryandmysqli::execute_query. (#1354) - Ubuntu 26.04 and Alpine 3.24 verified and supported.
Security updates
- Upgrade the Go version used to build the daemon to 1.27.4. (#1382)
- Bump
golang.org/x/netto 0.62.0 in the daemon. (#1305, #1353) - Add release data for tarball hashes, image digests and signing key fingerprints. You can use it to verify a tarball you download. See Verify the tar file. (#1374)
Bug fixes
- Give the explain connection the application's connection settings. (#1316)
- Instrument the aliases of wrapped functions that had no wrapper. (#1323)
- Report pgsql queries against the host of their own connection. (#1319)
- Obfuscate PostgreSQL dollar quoted strings. (#1318)
- Fix an out-of-bounds read on a trailing backslash. (#1333)
- Report Predis commands against the node they were sent to. (#1321)
- Tie the Predis command start time to the command object. (#1343)
- Keep PDO connection options for the explain connection across transactions. (#1322)
- Read the SQL of a PDO statement from the statement. (#1326)
- Close a TOCTOU race on the shared daemon fd. (#1359)
- Keep the SQL of mysqli statements across transactions. (#1347)
- Do not call the application's error handler while the explain connection runs. (#1349)
- Keep the SQL of pgsql prepared statements across transactions. (#1348)
- Do not use a segment after its transaction ended during the call. (#1350)
- Do not change the refcount of an immutable exception trace. (#1332)
- Keep the SQL of an oci8 statement after the transaction that parsed it ended. (#1351)
- Explain a mysqli statement that was prepared or bound in an earlier transaction. (#1352)
- Opcache preload handling improvements. (#1293)
- Keep segments whose span ID was sent out at
transaction_tracer.detail = 0. (#1375) - Fix a race condition in an Infinite Tracing (8T) debug statement in the daemon. (#1339)
Other updates
- Deprecate PHP 7.2 and 7.3. (#1373)
- Bump
google.golang.org/grpcto 1.85.0 in the daemon. (#1305, #1371)
Support statement
As previously communicated, PHP Agent support for the following library, framework and OS versions were discontinued and New Relic recommends you upgrade to the latest version supported by the vendor:
- Drupal 7: support has been discontinued in all PHP Agent Versions since October 15, 2026
- Drupal 9: support has been discontinued in all PHP Agent Versions since October 15, 2026
- CakePHP 4.x: support has been discontinued in all PHP Agent Versions since November 15, 2026
- Amazon Linux 2 (AL2): support has been discontinued in all PHP Agent Versions since November 15, 2026
- Red Hat Enterprise Linux 8 (RHEL 8): support has been discontinued in all PHP Agent Versions since November 15, 2026
PHP Agent support for the following library, framework and OS versions will be discontinued and New Relic recommends you upgrade to the latest version supported by the vendor:
- PHP 7.2: Support ends December 15, 2026
- PHP 7.3: Support ends December 15, 2026
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.
The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.
Important
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.
The PHP agent packages that are affected are:
- newrelic-php5
- newrelic-php5-common
- newrelic-daemon