phpmyadmin on nginx

0

Well, I installed ubuntu server 16.04 on my local computer, however when I go to phpmyadmin it's 404 error. I'm accessing the ip_local / phpmyadmin address

Here is my virtual server

phpmyadmin:

server {
    listen 80;

    root /usr/share/phpmyadmin;
    index index.php index.html index.htm;


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

    location ~ \.php$ {
            try_files $uri /index.php =404;
            fastcgi_pass unix:/run/php/php7.0-fpm.sock; #I use php7.0 : it's a problem ?
            fastcgi_index index.php;
            include fastcgi_params;
    }

}

I'm using php version 7.0 and the nginx version is 1.10.3

    
asked by anonymous 18.04.2018 / 03:49

0 answers