I installed phpmyadmin via
sudo apt-get install phpmyadmin but here what gives me
php5, phpmyadmin etc. modules are activated for apache. How can I fix this?
When I have had the similar issues with Phpmyadmin, I followed this awesome guide and fixed everything.
Follow each step there, you might have missed something.