How did I fix «ucfr: Attempt from package php7.2-fpm to take /etc/php/7.2/common/php.ini away from package php7.2-cli»?

The solution is similar to How did I fix «ucfr: Attempt from package php7.4-fpm to take /etc/php/7.4/common/php.ini away from package php7.4-cli»?