First PHP transaction is not reported

Problem

You installed the New Relic PHP agent and generated some traffic, but the agent does not send the first transaction.

Solution

This is expected behavior. When the PHP daemon is in its initial state, two transactions must occur before it will start reporting:

  • With the first transaction, the PHP daemon adds your newly-reporting application to its own application information table.
  • Once the application is added, the PHP daemon reports the second transaction to New Relic.

Recommendation: Run a trivial php process, such as phpinfo(), before running the processes you want reported.

Cause

This is expected behavior by the PHP daemon, which initially requires two transactions to be reported.

For more help

Recommendations for learning more: