Removing a PHP version doesn't remove the Apache package
If this roles is used to remove PHP8.4 it won't remove
libapache2-mod-php8.4
.