AppD Archive

PHP Agent does not work

CommunityUser
Splunk Employee
Splunk Employee

Hi guys,

I got problem when install PHP Agent. I follow instruction in here https://docs.appdynamics.com/display/PRO42/Install+the+PHP+Agent+using+a+Shell+Script

Please note that I install php agent download from appdynamics(from my controller, it got retrieve error). The version are 4.9.2 on both controller & agent.

Below are output after install :


  Detected PHP Version:
  PHP 5.5.9-1ubuntu4.13 (cli) (built: Sep 29 2015 15:24:49)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies

PHP version id:            5.5
PHP extensions directory:  /usr/lib/php5/20121212
PHP ini directory:         /etc/php5/cli/conf.d
Controller Host:           172.16.34.51
Controller Port:           8090
Application Name:          myApp
Tier Name:                 myTier
Node Name:                 myNode
Account Name:              customer1
Access Key:                2d2ae049-54c3-42e6-a9df-6f1930c6e0fd
SSL Enabled:               false
HTTP Proxy Host:
HTTP Proxy Port:
HTTP Proxy User:
HTTP Proxy Password File:

Writing '/home/spadmin/agent/appdynamics-php-agent/php/conf/appdynamics_agent_log4cxx.xml'
Writing '/etc/php5/cli/conf.d/appdynamics_agent.ini'
Writing '/home/spadmin/agent/appdynamics-php-agent/proxy/conf/controller-info.xml'
rm -f "/usr/lib/php5/20121212/appdynamics_agent.so"
ln -s "/home/spadmin/agent/appdynamics-php-agent/php/modules/appdynamics_agent_php_5.5.so" "/usr/lib/php5/20121212/appdynamics_agent.so"
Writing '/home/spadmin/agent/appdynamics-php-agent/proxy/runProxy'

I have check the Controller information, and make sure the firewall does not block anything.

However, My Controller does not seen any information about PHP Agent. I do not see php agent logs too.

PS : About the permission, I changed to 777, restart service. Check the java too :
spadmin  23473  0.1  3.1 2577180 64716 pts/3   Sl   17:46   0:02 ./proxy/jre/bin/java -server -Xmx300m -Xms50m -classpath ./proxy/conf/logging:./proxy/lib/*:./proxy/lib/tp/*:./proxy/* -Djava.library.path=./proxy/lib/tp -Dappdynamics.agent.logs.dir=/home/spadmin/agent/appdynamics-php-agent/logs/agentLogs/ -Dcomm=/home/spadmin/agent/appdynamics-php-agent/logs/proxy.communication/ -DagentType=PHP_APP_AGENT -Dappdynamics.agent.runtime.dir=/home/spadmin/agent/appdynamics-php-agent/proxy/ -Dlog4j.ignoreTCL=true -XX:MaxPermSize=120m -XX:-UseGCOverheadLimit com.appdynamics.ee.agent.proxy.bootstrap.ProxyControlEntryPoint
spadmin  24637  0.0  0.0  11740   932 pts/3    S+   18:26   0:00 grep --color=auto java

Any idea about this ?

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...