I\'m getting internal server error (HTTP Error 500) after installing phpmyadmin on a certain domain.
This is what my config.inc.php file currently reads
Ensure that your PHP version matches the used PHP module in Apache2:
php -v //PHP 7.4.4
ls -d /etc/apache2/mods-enabled/php*.conf // php7.3.conf
sudo a2dismod php7.3 // disable 7.3
sudo a2enmod php7.4 // enable 7.4
sudo systemctl restart apache2
I installed the php-mbstring
php-gettext
(also excplicitly for latest PHP version), but it still wasn't working. At least it took me hours until I noticed apache decides itself what PHP version is used.