'Phpmyadmin downloads file instead of opening dashboard (nginx) (linux)

When I open localhost/phpmyadmin , it doesn't open the phpmyadmin agent but downloads a file containing php code

my /etc/nginx/sites-available/default

server {
   listen 80 default_server;
    listen [::]:80 default_server;

   server_name _;

   root /var/www/hewehi_nginx/html;
   index index.html;

   location / {
       try_files $uri $uri/ =404;
   }
}
    
    


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source