2
votes

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.

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

1
Which symfony version? What exactly is not working?hakre
@hakre - I am using symfony version 1.4.11 (doctrine)Janmejay
And about the "somehow it is not running properly", how does this look like? Can you be more specific?hakre
I guess i am having problem with the htaccess as i am not able to redirect other pages to index.php.Janmejay
Can you please send me an example of a configuration file with symfony already set?Janmejay

1 Answers

2
votes

Here is a working symfony nginx config.

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

Edit: The error mentioned in the comments has been fixed in the linked answer.