Skip to main content

PHP Agent Release Notes

Latest Version: 2.14.2​

2026-07-08

v2.14.2

Fixed Fixed an issue where using PDO::exec() on PHP 8.x could cause the request to fail (HTTP 500) due to SQL result count collection.

  • PDO::exec() returns the affected row count as an int, but the result-count logic called rowCount() on the PDO connection object (which has no such method), causing an Error on PHP 8.
  • Now uses the return value of exec() directly, and only calls rowCount() when the target is an actual PDOStatement.
  • Occurred only on PHP 8.x with default settings; PHP 5/7, PDO::query(), and prepared statements were not affected.

Fixed Fixed an incorrect result count for the 2-argument form of cubrid_execute().

  • Fixed an issue where cubrid_execute($conn, $sql) read the result count from the connection instead of the return value, showing -1. Now reads the count from the return value.

New Added an on/off option for SQL result count collection (whatap.profile_sql_fetch_enabled).

  • Added a new option (default: true) to disable the SQL result count collection feature introduced in 2.14.1.

Usage example

# Disable SQL result count collection (default: true)
whatap.profile_sql_fetch_enabled = false