Apache not starting in linux mint

after ubuntu update to 20.04 I changed PHP to 7.4

sudo a2dismod php7.3
sudo a2enmod php7.4
sudo apachectl configtest
sudo systemctl restart apache2

Ok, kind of a dumb error, I ran apachectl configtest to get more detailed error and I got:

apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax 
error on line 3 of /etc/apache2/mods-enabled/php7.0.load: Cannot load 
/usr/lib/apache2/modules/libphp7.0.so into server: 
/usr/lib/apache2/modules/libphp7.0.so: cannot open shared object file: 
No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.

So I checked /etc/apache2/mods-enabled/php7.0.load and at line 3 it had:

LoadModule php7_module /usr/lib/apache2/modules/libphp7.0.so

But in my /usr/lib/apache2/modules folder I had a newer module:

libphp7.2.so

So In /etc/apache2/mods-enabled/php7.0.load I changed it to:

LoadModule php7_module /usr/lib/apache2/modules/libphp7.2.so

Then restarted apache and it's working like a charm!!!.

Note: I don't know if this is the correct way to do this but, it's working.