PHP Agent StartProbe.bash Fails to execute correctly
search cancel

PHP Agent StartProbe.bash Fails to execute correctly

book

Article ID: 96758

calendar_today

Updated On:

Products

CA Application Performance Management SaaS

Issue/Introduction

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