Issue: After installing the APM Insight PHP Agent, multiple application instances appear with different port numbers for the same application, which is expected to run only on port 80/443.
Issue Cause:
As per the PHP agent’s auto-discovery behavior, all application runtime ports are detected by design, resulting in monitor instances such as:
- apphost:0 (PHP-Application): Instance created to show background application activity.
- apphost:80 (PHP-Application): Instance created to show web activity accessed via port 80.
- apphost:443 (PHP-Application): Instance created to show web activity accessed via port 443
Solution: To monitor only a specific port (e.g., 443) and exclude others, follow these steps:
1. Confirm the primary port used for web traffic.
2. Exclude unnecessary ports by executing the following command from the agent installation path:

sh /opt/zpa/bin/agent_php.sh configure -zpa.exclude_ports "<app_port_which_not_required>"
For Example, To exclude port 80, execute the below cmd:

sh /opt/zpa/bin/agent_php.sh configure -zpa.exclude_ports "80"
3. Restart the application to apply the changes.
4. Delete the excluded instances from the Applications Manager portal.
Note: Excluding ports prevents data collection for those instances. Ensure the correct port is monitored before making changes.
If any concerns, kindly contact appmanager-support@manageengine.com for further assistance.