Skip to main content

Pausing monitoring

To temporarily pause the PHP monitoring service, disable the PHP extension module and stop the whatap-php service.

Disable PHP Extension Module

Linux/Unix

  1. Disable the PHP extension module.

    Comment out the extension= directive in the whatap.ini file.
    Use a semicolon (;) to comment it out.

    $ sudo vi whatap.ini

    extension=whatap.so

    ;comment
    ;extension=whatap.so
  2. If you manually configured the setting directly in php.ini, also comment out the extension= directive.

Note

Start the Apache or PHP-FPM service after making the changes.


Windows

Comment out the extension directive in the whatap.ini file.

When using Scan INI Directory

REM Edit whatap.ini
notepad "C:\PHP\conf.d\whatap.ini"

REM Comment out the extension line
;extension=php_whatap.dll

When added directly to php.ini

notepad "C:\PHP\php.ini"

REM Comment out the extension line in the [whatap] section
[whatap]
;extension=php_whatap.dll

Restart the web server

REM Apache
net stop Apache2.4
net start Apache2.4

REM IIS
iisreset /restart

Stop WhaTap PHP Service

Stop the whatap-php service.

$ sudo service whatap-php stop