cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Dynamic Languages (Node.JS, Python, PHP, C/C++, Webserver Agent)

PHP Agent and apache Web Server Agent

SOLVED
Ahmed.Khalil
Maker

PHP Agent and apache Web Server Agent

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 

By replying you agree to the Terms and Conditions of the AppDynamics Community.
PHP Agent and apache Web Server Agent
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

Ahmed.Khalil
Maker

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 ~]#

Francois.Montel
AppDynamics Team

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

Piyush.Mundra
AppDynamics Team

Hi François,

 

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

 

Best Regards,

Piyush

Sandor.Bihary
Builder

Hey Team!

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

Best,

Sandor

Sandor.Bihary
Builder

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