I tried to install the PHP agent appdynamics-php-agent-4.0.6.0-1.x86_64.r on centOS.
But the install failed with following errors.
-----------------------------------------------------------------------------------------
[root@app_dev appdynamics-php-agent]# ls -ltr
合計 46808
-rw-rw-r--. 1 root root 4055 5月 12 13:04 2015 runme.sh
-rw-rw-r--. 1 root root 47919782 5月 12 13:04 2015 appdynamics-php-agent-4.0.6.0-1.x86_64.rpm
-rw-r--r--. 1 root root 393 5月 15 13:44 2015 installVars
[root@app_dev appdynamics-php-agent]# bash runme.sh
Installing AppDynamics PHP agent: 4.0.6.0GA.8464.7cb8945756a0779766bf1b4c32e49a96da7b8cfe
error: %pre(appdynamics-php-agent-4.0.6.0-1.x86_64) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2)。skipping appdynamics-php-agent-4.0.6.0-1
-----------------------------------------------------------------------------------------
I have already add these information to the installVars file.
APPD_PHP_PATH、APPD_PHP_CONFIGURATION_DIR
APPD_PHP_EXTENSION_DIR
But the situation doesn't change.
Could you tell me how to install the PHP agent correctly?
http://community.appdynamics.com/t5/AppDynamics-Discussions/Install-php-agent-failed-with-exit-statu...
Machine environment are as follows,
・Controller
IP:***.***.***.77
OS:Windows7(32bit)
Virtual OS on ESX
・Agent
IP:***.***.***.110 (same segument as a controller)
OS:CentOS 6.5(64bit)
Virtual OS on ESX
Thanks and Regards,
Hi kanako.yoshiba,
We see such errors reported when PHP is not installed at the standard location on server. We request you to try the agent setup using Shell Script which is very robust and flexible. Please find the complete documentation for the same at https://docs.appdynamics.com/display/PRO40/Install+the+PHP+Agent+using+a+Shell+Script
You can download the shell script installer from http://download.appdynamics.com/
Please let us know if you encounter any issue with this.
Best Regards,
Piyush
Hi Piyush,
Thank you for your replay.
PHP agent could be installed using shell spript.
Thank you for your help!!