Skip to main content

Uninstall PHP Agent

Delete the tracer, that is, the PHP extension module and the whatap-php service daemon using the installation script. After that, remove the package (yum, apt-get), and if necessary, delete log files and other files under /usr/whatap/php.

Linux / Unix

  1. Delete the PHP extension module and the whatap-php service.

    $ /usr/whatap/php/install.sh remove
  2. Delete the package.

    $ sudo yum remove whatap-php
Note

Apache or PHP-FPM service is started.

Windows

Caution

When uninstalling on Windows, it is recommended to stop the web server first and restart it after the removal.

GUI Uninstallation

# 1. Stop the web server (recommended)
net stop Apache2.4
REM or
iisreset /stop

# 2. Run the uninstaller
"C:\Program Files\WhaTap\PHP\unins000.exe"

# 3. Start the web server
net start Apache2.4
REM or
iisreset /start

CLI Silent Uninstallation

# 1. Stop the web server (recommended)
net stop Apache2.4
REM or
iisreset /stop

# 2. Silent removal
"C:\Program Files\WhaTap\PHP\unins000.exe" /VERYSILENT

# 3. Start the web server
net start Apache2.4
REM or
iisreset /start

Example Batch Script

@echo off
echo Stopping web server...
net stop Apache2.4

echo Uninstalling WhaTap PHP Agent...
"C:\Program Files\WhaTap\PHP\unins000.exe" /VERYSILENT

timeout /t 3

echo Starting web server...
net start Apache2.4
echo Uninstallation completed!