Problems Hosting Symfony sites on Godaddy?

July 24, 2008 – 5:11 pm

Please Note: There is an updated version of this post for Symfony 1.2

For all who are having problems getting a Symfony app to play nice with GoDaddy, here’s what you (most likely) need to tweak. First of all, I had to make the following entry in my settings.yml file:

path_info_key:          REDIRECT_URL

Then, and this was the real tricky part, I also needed to place a file called php5.ini at my site root, that contains the following line:

cgi.fix_pathinfo = 1

This tells the godaddy server to actually respect this front.php/somepage syntax. Otherwise this will throw a 404 error.

Hope this helps.

Filed under: Rnadom Sftuf — by Richtermeister

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress