【发布时间】:2016-01-19 08:50:34
【问题描述】:
我尝试使用以下教程在我的 LEMP 服务器上安装 phpMyadmin
https://www.digitalocean.com/community/tutorials/how-to-install-phpmyadmin-on-a-lemp-server
但是当我尝试访问 myip/phpmyadmin 时,找不到页面
在此之前,我安装了 laravel5,所以我在 ip/anystring 之后输入的任何内容都可以被我的 laravel 路由页面访问,
那么你能告诉我如何访问 phpMyadmin
我的 ip 是http://xxxxxxxx//phpmyadmin。
我的nginx默认页面是这样的
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
root /var/www/laravel/public;
index index.php index.html index.htm;
# Make site accessible from http://localhost/
server_name xxxxxxx;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ /index.php?$query_string;
# Uncomment to enable naxsi on this location
# include /etc/nginx/naxsi.rules
}
error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
}
}
请帮帮我 谢谢
【问题讨论】:
标签: nginx digital-ocean