How to add a PHP instance that was deleted earlier
For agent versions 4.0 and above
For every instance, there will be a corresponding configuration file present inside the
conf folder of the S247DataExporter installation path. Delete the appropriate configuration file and restart the S247DataExporter (
Linux |
Windows) to re-add the deleted instance.

Do not delete the configuration.json file.
Please find the default conf folder paths below:
Linux: /opt/S247DataExporter/conf
Windows: C:\Program Files (x86)\S247DataExporter\conf
For agent versions below 4.0
Linux:
- Delete the instance.out file from the following path:
rm /opt/zpa/bin/instance.out
- Edit the apminsight.conf file in /opt/zpa/conf/ to rename the application name by editing the following line:
#Logical name of your application
application.name=PHP-Application
- Restart the PHP agent service in /opt/zpa/bin by using the following command:
sh run.sh restart
Windows:
- Delete the instance.out file from the APM Insight installation directory. By default, this is found in C:\Program Files (x86)\APM Insight PHP Agent\zpa\bin\.
- Edit the apminsight.conf file located in the installation directory to rename the application name. By default, this is found in C:\Program Files (x86)\APM Insight PHP Agent\zpa\conf\.
- Restart the APM Insight PHP Agent Windows service.
Related Articles
Unable to add SQL insight monitor
If the SQL Insight monitor is not getting added even after entering your credentials, try these troubleshooting steps: Ensure that the Auto-discover applications feature is enabled. If not, you will need to trigger discovery using the Discover ...
How do I monitor an Oracle database hosted in a Docker container in the same machine?
To monitor your Oracle Database hosted in a Docker container, follow these steps: Log in to Site24x7 and install the Site24x7 Linux monitoring agent. Execute the following command in your terminal and enter your Oracle Database instance's username ...
Why are my resources not being discovered?
When you cannot view the newly added Azure resources in your Azure monitor, you can check if Auto-discovery is disabled. If it is enabled, new resources will be added during auto-discovery. Manual triggering If your resource is not discovered, you ...
Difference between Primary and Secondary monitoring locations
Primary location is the main location from which your configured monitors are polled according to your poll interval settings. If a website is reported as down when polled from a primary location, Site24x7 will verify the status from the configured ...
Troubleshooting steps when no data is received from the SQL server
As we use "Perfmon" to fetch data for Microsoft SQL monitoring, please check if the counters related to SQL are present in the user's perfmon. Please follow the steps below: Open the server machine in which the issue is occurring. Start -> Run and ...