Considering dependency mpm_prefork for php8.0: Considering conflict mpm_event for mpm_prefork: code example
Example: ERROR: Could not enable dependency mpm_prefork for php7.4, aborting
sudo a2dismod mpm_event
sudo sytemctl restart apache2
sudo a2enmod php7.4