我试图在ubuntu上的php5-fpm + nginx服务器上安装Symfony。nginx的服务器配置文件
当我进入到/web/app_dev.php它显示一个错误:在加载网页调试工具发生
错误(404:未 找到)。
你想打开分析器吗?
当我进入到分析器(/web/app_dev.php/_profiler/0db7ac)它告诉:指定
没有输入文件。
我知道我的服务器配置文件存在问题。这里是:
server {
listen 80;
# listen [::]:80 ipv6only=on;
root /home/marker/Projects/stereoshoots/www;
access_log /home/marker/Projects/stereoshoots/logs/access.log;
server_name stereoshoots.local;
index index.php index.html index.htm;
location/{
autoindex on;
# try_files $uri $uri/ @rewrite;
try_files $uri $uri/ /index.php;
}
# location @rewrite {
# rewrite ^/(.*)$ /index.php?q=$1;
# }
location ~* \.(jpg|jpeg|gif|css|png|js|ico|xml|txt)$ {
access_log off;
expires 30d;
}
location = /favicon.ico {
return 204;
access_log off;
log_not_found off;
}
location ~ \.php$ {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
}
location ~ /\.ht {
deny all;
}
}
我应该编辑什么,以获得symfony安装权?
谢谢!