AppD Archive

PHP agent extension not loaded

CommunityUser
Splunk Employee
Splunk Employee

I'm installing controller and PHP agent on local environment.

The controller installed and can be viewed with url: appdynamics1.infomedia.co.id:8090/controller

PHP agent installed using RPM. Below are the environment used when installing:

export APPD_CONF_SSL_ENABLED='true'
export APPD_CONF_APP='CRM Infomedia'
export APPD_CONF_CONTROLLER_HOST='appdynamics1.infomedia.co.id'
export APPD_CONF_CONTROLLER_PORT='8181'
export APPD_CONF_TIER='CRM 172.9.2.56'
export APPD_PHP_PATH=/usr/local/zend/bin
export APPD_PHP_CONFIGURATION_DIR=/usr/local/zend/etc
export APPD_PHP_EXTENSION_DIR=/usr/local/zend/lib/php_extensions

I can see config file and PHP extension already put on related directory.

However after restarting web server I can't find any AppDynamics config on PHP info. From what I read there should be section for AppDynamics on PHP info. No java process running either, for sending data to controller.

Is there any more step I should taken? How do I check if there are misconfiguration somewhere?

Many thanks!

Tags (1)
0 Karma
1 Solution

CommunityUser
Splunk Employee
Splunk Employee

Turned out the directory for .ini file is not in /usr/local/zend/etc but in /usr/local/zend/etc/conf.d.

Creating symlink for appdynamics_agent.ini in conf.d directory (from etc) and restarting web server solved this issue.

The appdynamics agent loaded on PHP and traffic data already showing in controller.

Many thanks for the help.

View solution in original post

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Turned out the directory for .ini file is not in /usr/local/zend/etc but in /usr/local/zend/etc/conf.d.

Creating symlink for appdynamics_agent.ini in conf.d directory (from etc) and restarting web server solved this issue.

The appdynamics agent loaded on PHP and traffic data already showing in controller.

Many thanks for the help.

0 Karma

Arun_Dasetty
Super Champion

Hi ,

While the php team got chance to look into this issue, Can you confirm if you see any error when starting php agent and also check if the information in other forum query helps http://community.appdynamics.com/t5/AppDynamics-Discussions/Install-php-agent-failed-with-exit-statu... ? Also we assume you followed all the steps stated in docs mentioned in other forum query.

Regards,

Arun

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Attached are what I got when running the proxy manually. I also restart the web server after running proxy but PHP info still didn't registered any AppDyanamics config.

Yes I follow all the steps in this guide: https://docs.appdynamics.com/display/PRO39/Install+the+PHP+Agent+using+RPM

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...