Score:0

lampp installed but php not running

in flag

I am using Ubuntu 20.04.3 LTS with XAMPP the latest version. I have access to localhost/phpmyadmin and I can use mysql in terminal using the code below

cd /opt/lampp/bin
./mysql -u root

Everything seems to be fine but the when I write a simple php code like echo something and put it under /opt/lampp/htdocs/mysite it doesn't show up using localhost/mysite

I tried to change the file name and got 404 message so the file is recognized but the php is not running.

Can you help me find the problem please.

John Ronald avatar
ca flag
Try this: https://stackoverflow.com/questions/42654694/enable-php-apache2
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.