使用Nginx服务器设置Symfony [英] Setting up Symfony with Nginx server

查看:77
本文介绍了使用Nginx服务器设置Symfony的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的项目需要与Nginx服务器建立symfony.我以前在Apache上使用过Symfony.目前,我已经按照此处提到的步骤进行操作 http://wiki.nginx.org /index.php?title=Symfony&oldid=6054 ,但由于某种原因它无法正常运行.

My project requires to set up symfony with Nginx server. I have previously used Symfony with Apache. Currently I have followed the steps mentioned here http://wiki.nginx.org/index.php?title=Symfony&oldid=6054 ,but somehow it is not running properly.

更新:nginx Wiki现在包含 symfony 1.4和2.0的工作配置

Update: The nginx wiki now contains working configuration for symfony 1.4 and 2.0

推荐答案

这是可以正常运行的 symfony nginx配置.

它基于Ubuntu/Debian安装,如果可能需要转换到另一个平台,请在链接的帖子中进行评论/编辑.

It is based on Ubuntu/Debian installations, please comment/edit at the linked post if conversion to another platform might be required.

注释中的错误已在链接的答案中得到解决.

这篇关于使用Nginx服务器设置Symfony的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆