I been having problems with PhpMyadmin: It returns either code instead of a login screen, or it will just return the blank white page.
Tried the Following (Running Debian 11 – Bullseye on own server.)
PHP: Version 7.4 installed and both 7.4 and 8.1 available)
MYSQL:Ver 8.0.29 for Linux on x86_64 (MySQL Community Server – GPL)
Apache2 Version 2.4.53
Port 80 and 443 open
I am not sure what plugins or modules I need. I have installed almost everything I can think of, and I get a white blank page, and I know I probably am missing something, but not sure.
Can someone give me a LIST of what I need to install to get this working? I’ve done an upgrade from Debian 8.3 to Debian 11, and I am not sure what else I need.
Any Help would be appreciated – This CAN’T be THIS hard 🙁
Thanks,
Brian
2
Answers
Use the following to install everything needed. I had the same issue, and I fixed it with the following code:
apt -y install wget php php-cgi php-mysqli php-pear php-mbstring libapache2-mod-php php-common php-phpseclib php-mysql
It looks like your php module is missing/not working in apache2 web server. Try doing steps 1-4 as suggested in:
https://stackoverflow.com/a/68241533
apt-get install libapache2-mod-phpX.X
sudo a2enmod phpx.x
sudo a2dismod xxx
sudo service apache2 reload
Once completed, try reloading the phpmyadmin page again.