PHP Extension pcov is broken on Azure Pipeline #3470
Labels
Area: PHP
community-feature
investigate
Collect additional information, like space on disk, other tool incompatibilities etc.
OS: Ubuntu
Description
The PR https://github.com/actions/virtual-environments/pull/3405/files#diff-95ffb9615f2b3417624ab00cf732ddb0ef86f44d8872bb35ab729001179abaffR83 makes it impossible to use pcov as it removes the content of the configuration file
/etc/php/$version/mods-available/pcov.ini
This configuration file is to be copied to
/etc/php/$version/[cli|apache2|fpm|...]/conf.d/
to enable the extension.And the file from
/etc/php/$version/[cli|apache2|fpm|...]/conf.d/
is to be removed to disable the extension.Or use
phpenmod
andphpdismod
(https://tecadmin.net/enable-disable-php-modules-ubuntu/) asphp-common
is available=> Removing the content of /etc/php/$version/mods-available/pcov.ini is a very bad way to disable the extension...
Anyway, pcov can't be used at the same time that xdebug which is already installed by default.
So the right and simple solution is just not to install pcov, or install it but disabling it the right way.
And let experienced developers install/setup/use it if they need it.
Area for Triage:
PHP
Question, Bug, or Feature?:
Bug
Virtual environments affected
Image version
20210524.1
Expected behavior
Possible to replace xdebug with pcov
Actual behavior
Impossible to enable/use pcov as its configuration file have been wiped out
Repro steps
=> pcov is not listed
The text was updated successfully, but these errors were encountered: