Install PHP Agent
Download agent
After getting the access key, select your OS running. In the Download agent section, copy the command for the OS to install the agent.
The PHP agent installation method is Linux package installation. You can install it in the following order.
-
Register the WhaTap repository.
-
Install the whatap-php Linux package (yum, apt-get).
-
Run the configuration script. Through the configuration script, the tracer is registered as PHP extension module, and the agent runs by the whatap-php service.

-
Restart Apache or PHP-FPM.
For more information about the agent file structure, see the PHP agent file structure.
The agent file consists of the tracers that extracts information for application monitoring and delivers it to the WhaTap collection server, the agents to transmit the collected information to the server, and the installation script files to dynamically apply the tracers and agents to the server. For more information about the agent files, see the following.
The method how to set depending on the application server environment is provided as follows. Before installing and applying the agent, check Support environment first.