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.

Java (Java Agent, Installation, JVM, and Controller Installation)

PHP Agent installation

Tim.Li
New Poster

PHP Agent installation

Hi,

 

I am trying to install the PHP Agent to the PHP server. I am following the bellow article to install:

https://docs.appdynamics.com/display/PRO45/Install+the+PHP+Agent+by+Shell+Script

 

The installation should be success, I didn't see any error during the installation. After the installation, I restart the php-fpm service, but cannot find any JAVA process. The server also installed the ngnix, will AppD processes require to restart ngnix too? 

 

Thanks & Regards,

Tim

Tags (1)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
PHP Agent installation
8 REPLIES 8
Jeanie.Kedia
Community Manager

@Tim.Li did you restart ngnix? How did it go?
Tim.Li
New Poster

Hi Jeanie,

 

Thanks for your reply.

 

I have restarted the ngnix, but still not work. 

 

I tried to manually start up the PHP Agent Proxy following the below steps:

https://docs.appdynamics.com/display/PRO45/Start+the+PHP+Agent+Proxy+Manually

 

It has some error when I execute the command, attached the error screen capture.

 

 

Regards,

Tim

Kyle.Furlong
AppDynamics Team

Hi Tim,

 

Usually with nginx, the actual PHP server is php-fpm. You may need to restart this service as well. Could you give that a try and let us know if the data shows up?

 

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.
Tim.Li
New Poster

Hi Kyle,

 

I tried to restart the nginx and php-fpm, but the java processes still not exist.

 

[cpptiyl@HKGX4LMA0001 ~]# sudo service php-fpm restart
Stopping php-fpm: [ OK ]
Starting php-fpm: [ OK ]
[cpptiyl@HKGX4LMA0001 ~]# sudo service nginx restart
Stopping nginx: [ OK ]
Starting nginx: [ OK ]
[cpptiyl@HKGX4LMA0001 ~]# ps -ef | grep java
cpptiyl 31458 30767 0 11:33 pts/1 00:00:00 grep java

 

Regards,

Tim

Kyle.Furlong
AppDynamics Team

Hi Tim,

 

Could you provide the output of phpinfo() run through the server, as well as the PHP error logs?

 

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.
Tim.Li
New Poster

Hi Kyle,

 

Sorry for the late reply.

 

Below are the capture of phpinfo(),

Capture.JPG

 

Also attached the error.log. [the error log file has been redacted by @Nina.Wolinsky to ensure privacy]

 

Regards,

Tim

Nina.Wolinsky
AppDynamics Team

@Tim.Li To ensure privacy, please do not publicly share your logs. Please share them offline with @Kyle.Furlong if he is able to help. 


Thanks,
Nina, UX Writer on Product Design




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

4.PNG1.PNG2.PNG3.PNG