I'm trying to install php agent version 3.9.3.0-1 64-bit (appdynamics-php-agent-3.9.3.0-1.x86_64) on CentOS 6.3 64-bit.
I'm using the zip downloaded from SaaS Controller.
However when executing script runme.sh I got the following error:
[root@salakanagara appdynamics-php-agent]# bash runme.sh
Installing AppDynamics PHP agent: 3.9.3.0GA.5793.05918cd8a4a8a63504a34f0f1c85511e207049b3
error: %pre(appdynamics-php-agent-3.9.3.0-1.x86_64) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping appdynamics-php-agent-3.9.3.0-1
I tried googling but didn't get any solution. Perhaps anyone here can tell what to do? What does exit status 1 mean?
Many thanks!
Hi,
While the php team got chance to look into this issue, Can you please go through the following and check whether your environment is in supported list and you are following the stated steps in docs:
https://docs.appdynamics.com/display/PRO39/Install+the+PHP+Agent+using+RPM
https://docs.appdynamics.com/display/PRO39/Supported+Environments+and+Versions+for+PHP
https://docs.appdynamics.com/display/PRO39/Install+the+PHP+Agent+using+a+Shell+Script
Regards,
Arun
Hi,
While the php team got chance to look into this issue, Can you please go through the following and check whether your environment is in supported list and you are following the stated steps in docs:
https://docs.appdynamics.com/display/PRO39/Install+the+PHP+Agent+using+RPM
https://docs.appdynamics.com/display/PRO39/Supported+Environments+and+Versions+for+PHP
https://docs.appdynamics.com/display/PRO39/Install+the+PHP+Agent+using+a+Shell+Script
Regards,
Arun
Thanks for the link.
It seems when using Zend Server the PHP executable didn't registered on standard environment path.
After we set the environment variable for RPM package the install went without problem.