PHP Agent StartProbe.bash Fails to execute correctly

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

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

APM SaaS PHP agent
Open the StartProbe.bash and change

php -r 'echo wily_php_agent_start();'


php -r 'echo wily_php_agent_status();'

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