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
-
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 -
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.
- Red Hat/CentOS
- Debian/Ubuntu
- FreeBSD
- Windows
$ sudo service whatap-php stop
$ sudo service whatap-php stop
$ service whatap_php stop
REM Stop service
net stop "WhaTap PHP"
REM or
sc stop "WhaTap PHP"