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

cancel
Showing results for 
Search instead for 
Did you mean: 

PHP agent installation on CentOs

Voyager

PHP agent installation on CentOs

I am trying to monitor the php application using appdynamics.

I have CentOS 7 - 64 bit in my PC (with Webserver)

PHP version - 5.4.16 (Debug Build -> No , Non thread safe),

Downloaded the Rpm file from appdynamics server, while installing the rpm file getting the message as below,

rpm -i appdynamics-php-agent.x86_64.rpm
/usr/bin/appd-install: line 4: /usr/lib/appdynamics-php5/install.sh: No such file or directory
warning: %post(appdynamics-php-agent-4.4.2.0-1.x86_64) scriptlet failed, exit status 1

 

I don't know what i am missing here, Kindly reply what to do next?

PHP agent installation on CentOs
6 REPLIES 6
AppDynamics Team

Re: PHP agent installation on CentOs

Hi there,

 

Could you give our script based installer a try? This is the one with tar.bz2 as its extension. Our RPM format installer is currently affected by a small build bug.

 

Regards,

Kyle

Thanks,
Kyle Furlong, Technical Lead (C++ and Dynamic Languages)




Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Voyager

Re: PHP agent installation on CentOs

Hi kyle,

 

I downloaded the PHP agent from my local appdynamic server and installed it. (zip file)

 

 

Thanks

 

Re: PHP agent installation on CentOs

Hi,

 

I have installed the agent and unable to get the data on the controller. Can you please help me with this.

 

Also I tried to check logs but I dont find any log file in 

cd /usr/lib/appdynamics-php5/logs/

 

Any help is appreciated.

 

Best,

Yoshita

Highlighted
AppDynamics Team

Re: PHP agent installation on CentOs

Hi Yoshita,

 

Can you please check if SELinux is in enforcing mode on the server? If yes, please change it to the permissive mode and restart the Apache/PHP-FPM and see if that helps in this case?

 

Best Regards,

Piyush

Re: PHP agent installation on CentOs

Hi Piyush,

 

I checked the status of Selinux and it is diabled.

 

PS: I am using Nginx.

 

Will really appreciate your help at the earliest on this thread.

 

Best,

Yoshita

AppDynamics Team

Re: PHP agent installation on CentOs

Hi Yoshita,

 

Could you please grab the following details from the affected environment and share them with me on a private message to have a look and assist further?

 

1. The output of ps -ef | grep proxy command.

2. The output of php -i command.

3. The output of phpinfo() run through the web server.

 

Best Regards,

Piyush