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!
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.
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.
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
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