How to modify the APM Insight PHP agent's communication port?
The PHP 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 configurations:
- In the zpa.ini (Linux) or php.ini (Windows) file, set
zpa.status_port=20021
zpa.data_port=20022
- In the apminsight.conf file, set
agent.status.port=20021
agent.data.port=20022

Note: The values for zpa.status port and agent.status.port mustbe the same. Similarly, the values of zpa.data_port and agent.data.port must be the same.
New to ADSelfService Plus?
Related Articles
PHP Monitor Troubleshooting
PHP Monitor Errors and Troubleshooting Guide Check if the phpstats.php file in the webserver's document root. Ensure there are no modifications done in phpstats.php file Check if the given PHP path is correct. Retry with the "SSL is enabled" option ...
Troubleshooting communication between APM Insight Agent and Applications Manager
APM Insight agent communicates to the Applications Manager through the HTTP/HTTPS protocol. Make sure the communication between Applications Manager server and agent server via HTTP/HTTPS is allowed in firewall.To check , open a browser in the APM ...
Uninstrumented Block of Code - APM Insight
In the traces tab --> Slowest Method Calls and Count we show if you find Un-instrumented block of code the reason is as follows: Basically, What is un-instrumented block of code in APM Insight? By default, APM Insight agent monitors known frameworks ...
How to add an APM Insight Node.js agent in Kubernetes via InitContainers?
To integrate the APM Insight Node.js agent into your Kubernetes applications using InitContainers, follow the steps given below: Step 1: Create an empty volume that will be used to copy the agent files during the initContainers process. Example: ...
How to add an APM Insight Python agent in Kubernetes via InitContainers?
Adding the APM Insight Python agent via init containers in Kubernetes enables the seamless integration of performance monitoring for Python applications, ensuring efficient tracking and analysis of application behavior within the Kubernetes ...