It seems that your server (Apache) does not recognize the php script as the PHP language for execution. First check if PHP enabled or not by running the following command in the terminal:
a2query -m php7.0
If he says somathing as PHP not included, run the following command:
sudo a2enmod php7.0
Then restart the Apache2 server Apache2 following command:
sudo service apache2 restart
Try updating the phpmyadmin page. Hope this solves your problem. Good luck.
Imran source share