cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PHP Agent and apache Web Server Agent

Ahmed.Khalil
Maker

Dears,

I am trying to install web server agent on the same server that already has php agent after i install web server agent and it's working php agent stop reporting data to the controller and also in flow map, they appear as disconnected nodes as attached please advise 

6 REPLIES 6

Ayush.Ghosh
AppDynamics Team

Hi Ahmed,

 

We need some more information about the setup.

 

OS

Apache version

Mod _PHP or PHP-FPM

 

Please attach the apache configuration for appdynamics after removing the value for controller url & access key.

 

Thanks

Ayush

OS: redhat 

controller-info.xml for php app :

extension = appdynamics_agent.so
agent.log4cxx_config = /usr/lib/appdynamics-php5/php/conf/appdynamics_agent_log4cxx.xml
agent.php_agent_root = /usr/lib/appdynamics-php5
agent.controller.port = 8090
agent.applicationName = PHP-Duabi
agent.tierName = web-tier
agent.nodeName = software

 

 

 

[root@software ~]# rpm -qa | grep -i http
httpd-tools-2.4.6-40.el7_2.4.x86_64
perl-HTTP-Tiny-0.033-3.el7.noarch
httpd-2.4.6-40.el7_2.4.x86_64
[root@software ~]# rpm -qa | grep -i php
php-tidy-5.4.16-4.el7.x86_64
php-xml-5.4.16-36.1.el7_2.1.x86_64
php-tcpdf-6.2.11-1.el7.noarch
php-php-gettext-1.0.11-12.el7.noarch
php-tcpdf-dejavu-sans-fonts-6.2.11-1.el7.noarch
php-soap-5.4.16-36.1.el7_2.1.x86_64
php-cli-5.4.16-36.1.el7_2.1.x86_64
php-5.4.16-36.1.el7_2.1.x86_64
php-mysql-5.4.16-36.1.el7_2.1.x86_64
php-gd-5.4.16-36.1.el7_2.1.x86_64
phpMyAdmin-4.4.15.7-1.el7.noarch
appdynamics-php-agent-4.3.0.2-1.x86_64
php-mbstring-5.4.16-36.1.el7_2.1.x86_64
php-bcmath-5.4.16-36.1.el7_2.1.x86_64
php-common-5.4.16-36.1.el7_2.1.x86_64
php-pdo-5.4.16-36.1.el7_2.1.x86_64
php-process-5.4.16-36.1.el7_2.1.x86_64
[root@software ~]#

Hi,

 

I must monitor Apache Instances and Php instances on the same server.

It's Mod_PHP (php cli)

 

Is-it possible?

 

Best,

François

Hi François,

 

Please follow the discussion we are having on the zendesk ticket for this question.

 

Best Regards,

Piyush

Hey Team!

Could you share what was the solution here? I am facing the same issue (detached PHP and Apache nodes)

Best,

Sandor

Hey Guys!

 

In the meantime I figured this out.

The only thing I needed to do it to properly set the priority of the transaction detection:)

 

So anyone see the same issue just make sure the HTTP tier has higher priority than the PHP tier so that HTTP will be evaulated first.

 

Best,

Sandor