Reconfigure APM Insight agent during PHP version upgrade

Reconfigure APM Insight PHP agent during PHP version upgrade

If you have upgraded your PHP version and face problems in monitoring after the upgrade, here's how you can resolve it. 

In general, APM Insight PHP agent registers with the PHP version present in the server at the time of installation. 

So when you upgrade your PHP version, you need to reconfigure the APM Insight PHP agent to pick the updated PHP version.


Run the agent configuration once again using the following commands:

cd /opt/zpa/bin 
sh configure.sh <license_key> 
sh run.sh restart
<restart the respective apache/fpm service> 

Learn more on the installation instructions (using script) to reconfigure PHP agent.