hello, I am a linux expert for 10+ years. I can help you fix the issue very soon. phpmyadmin is so simple and need the following
1) mysql database
2) nginx
3)php env
If all these three things are done , it is so easy to install phpmyadmin.
please contact me for more details