- Download latest release (currently 1.0.11) for Windows for your version of PHP and the correct format (ts or nts) from PECL
- Unzip downloaded package and copy the files
php_pcov.dll
andphp_pcov.pdb
to your PHP extensions directory, e.g.C:\bin\php\php-7.4.27-Win32-vc15-x64\ext\
- Modify your
php.ini
so that PCOV is loaded. Therefore addextension=pcov
:
..
extension=fileinfo
extension=gd2