AppDynamics Application Intelligence Platform

3.8.x Documentation

PDFs

Videos

Release Notes

Supported Platform Matrix for the App Agent for PHP

PHP Versions

Supported PHP Versions

Comment

5.2

Does not detect mysqli backends instantiated with the new keyword. See note below.

5.3

 

5.4

 

5.5

 

PHP 5.2 Note

The app agent for PHP is incompatible with PHP 5.2 applications that use the new keyword to instantiate a mysqli backend.
For example, AppDynamics will not detect the mysqli backend created by a PHP 5.2 application that uses an expression like this:

// Does not get detected.
$db = new mysqli("localhost", "user", "password", "database");

The workaround is to change such expressions to use mysqli_connect():

$db = mysqli_connect("localhost", "user", "password", "database");

PHP ZTS Note

The app agent for PHP is incompatible with the mode of PHP called Zend Thread Safety (ZTS).

If you are using ZTS, AppDynamics suggests that you review your dependencies on ZTS to confirm that you actually need it, and if you do not, to switch to non-ZTS mode.

If you have a legacy infrastructure which requires ZTS or an app library that needs it, such as pthreads, contact AppDynamics Support.

PHP Web Servers

Supported Web Server

Version

Comment

Apache

2.2

in prefork mode using mod_php

Apache

2.4

in prefork mode using mod_php

Apache

2.2

in worker MPM mode using mod_fastcgi with php-fpm or mod_fcgid with php-cgi

Apache 2.4

2.4

in worker MPM mode using mod_fastcgi with php-fpm or mod_fcgid with php-cgi

Any Web Server compatible with php-fpm

 

 

Operating Systems

Supported Operating System

Version

Comment

RHEL/CentOS

5.8+

SELinux is disabled.

Ubuntu/Debian

12+

SELinux is disabled.

Architecture

Supported Architecture

32-bit

64-bit

PHP Frameworks and Protocols

Framework/Protocol

Version

Entry Point Type

Drupal

7

Drupal entry

WordPress 

3.4 & 3.5

Wordpress

Zend

1 & 2

PHP MVC

CodeIgniter 

2.x

PHP MVC

FuelPHP 

1.5x & 1.6x

PHP MVC

Magento 

1.5, 1.6 & 1.7

PHP MVC

Symfony  

1 & 2

PHP MVC

CakePHP  

2.x

PHP MVC

HTTP 

 

PHP Web

CLI PHP CLI

If your PHP framework is not listed here, the agent detects your entry points as PHP Web and names the business transactions based on the first two segments of the URI (the default naming convention for PHP Web transactions). So it is still possible to monitor applications on "unsupported" frameworks. You can modify the naming convention used for PHP Web Entry points. See PHP Web Transaction Naming.

Transaction Naming

Framework/Environment 

Default Transaction Naming

Drupal

page callback name

Wordpress 

template name

PHP MVC Frameworks 

controller:action

PHP Modular MVC Frameworks

module:controller:action

PHP Web

URI

PHP Web Service New in 3.8.2service name.operation name
PHP CLIlast two segments of the script's directory path plus the name of the script

Virtual host prefixing is available for all supported entry point types except PHP CLI.

HTTP Exit Points

Supported HTTP Exit Points

curl/curl-multi

drupal_http_request()

fopen(), file_get_contents()

NuSOAP 0.9.5 New in 3.8.2

Zend_HTTP_Client::request()

Database Exit Points

Supported Database Exit Points

MySQL old native driver

MySQLi Extension

OCI8 New in 3.8.2

PDO

Cache Exit Points

Supported Cache Exit Points

Version

Memcache

 

Memcached

 

Predis

0.8.5

Predis is supported on PHP versions 5.3 and higher.

Although Predis is a full PHP client library, the AppDynamics Agent for PHP supports Predis as an exit point only, not as an entry point.

Web Service Exit Points

Supported Web Service Exit Points

NuSOAP 0.9.5 New in 3.8.2

Message Queue Exit Points

Supported Message Queue Exit Points

RabbitMQ

RabbitMQ support requires the amqp extension.

See also Monitor RabbitMQ Backends for PHP.

Opcode Cache Compatibility

Alternative PHP Cache (APC)

 

Correlation with AppDynamics for Databases

AppDynamics for Database version 2.7.4 or higher is required if you want to correlate the AppDynamics Agent for Database with the AppDynamics Agent for PHP.