PHP Agent StartProbe.bash Fails to execute correctly

Document ID : KB000096758
Last Modified Date : 24/05/2018
Show Technical Document Details
Issue:
Having downloaded and installed the PHP Agent from the APM SaaS environment, executing the StartProbe.bash script fails as follows:

 ./StartProbe.bash
Starting APM PHP Agent Probe...
PHP Fatal error:  Call to undefined function wily_php_agent_start() in Command line code on line 1



 
Environment:
APM SaaS PHP agent
Resolution:
Open the StartProbe.bash and change

php -r 'echo wily_php_agent_start();'

to

php -r 'echo wily_php_agent_status();'

The probe should then start when the script is re-executed