Go to phpmyadmin config
Cd /etc/apache2/sites-available
Open config file
Sudo nano phpmyadmin.conf
Put the following line inside the tags:
Include /etc/apache2/conf-available/php7.4-fpm-conf
Restart apache:
Sudo systemctl restart apache2
Go to phpmyadmin config
Cd /etc/apache2/sites-available
Open config file
Sudo nano phpmyadmin.conf
Put the following line inside the tags:
Include /etc/apache2/conf-available/php7.4-fpm-conf
Restart apache:
Sudo systemctl restart apache2