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.
Related Articles
Methods to upgrade PHP agent (Linux/Windows)
PHP agent can be upgraded in 2 ways: Auto upgrade Manual upgrade Auto upgrade: When this feature is enabled, the latest version of the agent is automatically downloaded and deployed when it is made available After the deployment process is complete, ...
How to upgrade the APM Insight Java agent to the latest version that supports Java 6 and 7?
Java agent version 5.7.0 and above deprecates support for Java applications running on Java 6 and 7. Please see this community post for more details. If you don't want to upgrade to Java 8, you can stick with Java 6 or 7. Since Java agent version ...
Automatically restart APM Insight PHP agent during system reboots
To automatically restart APM Insight PHP agent during system reboots, use the below given steps: For systemd servers: From APM Insight PHP agent version 2.8, agent will automatically start during server reboots for systemd supported Linux flavors. ...
How to add APM Insight Java agent without application restart?
In general, after installing the APM Insight Java agent, you have to restart your application for the agent to capture monitoring data. But in case of critical issues in the app, like sudden application slowness, where you haven't installed APM ...
How to modify the APM Insight PHP agent's communication port?
The agent uses ports 20021 and 20022 by default. You can change these ports by modifying the appropriate directive in the zpa.ini file (Linux) or php.ini file (Windows), as well as in the apminsight.conf file (Linux and Windows). Default ...