Score:0

Why do I got php code when accessing phpmyadmin?

sr flag

I'm trying to use phpymadmin on Ubuntu 22.04, I've already install LAMP server. When I accesss localhost/phpmyadmin on my browser, I get the following php code enter image description here

I know there's other question similar to this, but so far I haven't found a solution. I've already installed phpmyadmin and apache. I've aleready install libapache2-mod-php8.2, and also tried creating a symbolic link to phpMyAdmin sudo ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin. What can I do to solve this? Thanks, I'm still new to ubuntu

ru flag
Did you *enable* the PHP module? `sudo a2enmod php8.2` needs to be *manually* enabled and then you have to restart Apache `sudo systemctl restart apache2.service`. If this works I"ll write it as an answer
Ronin7 avatar
sr flag
@ThomasWard , yes I've enable php module
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.