On Mon, 19 Jul 2010, despuestambien wrote:

> I have been trying to upload symfony on GoDaddy's Shared hosting. But
> I couldn't!!
> 
> Has someone successfully achieved this? What's the BIG catch??

Would not recommend shared hosting for symfony apps unless they can 
fulfill all the requirements for PHP and web server config that symfony 
apps need.

> Pls give a few lines of help at least. I developed for 1 month an
> application to get with this surprise that I can't show the client the
> project online.
> 
> I have been trying to create a subdomain to test it. Is it
> the .htaccess, the php.ini, the ProjectConfiguration.config.php?

Wow, you may as well ask how computers work - so many blanks!
And that last line says you have no idea how this all fits together.

Well, start with the basics: in order to resolve a domain name you need 
what? Ill give you a clue: its an acronym and it starts with a D. Whats 
that you say? DNS? Well done. So first step is to set your DNS to resolve 
to your web server IP. That depends on your domain registrar and whoever 
does DNS for your domain, so I can't describe steps for that. Ask your web 
hoster or domain registrar.

Assuming DNS works and points to your web server, the web server needs to 
recognize that domain as a site. So presumably you have a control panel 
somewhere that allows you to add a vhost. The vhost has to have the 
subdomain you set up in DNS.

When you setup a vhost, it usually configures a specific folder to be 
the public folder, that's where you'll need to deploy the contents of the 
web folder of your app. The rest of the symfony folders should normally be 
outside the public web folder.

The .htaccess file is used to redirect all web requests to the front 
controller, normally index.php. You normally dont need to mess with it.

The php.ini is also something you wouldn't normally mess with, and with 
shared hosting you probably wont be able to mess with it.

The ProjectConfiguration.class.php is a global config file for the 
application, nothing to do with vhosts or DNS.

Really, if you spent some time reading carefully through the excellent 
symfony docs, you will gain a better understanding of all this.

Read the Gentle book: 
http://www.symfony-project.org/gentle-introduction/1_4/en/

Some of the other books and guides are useful too:
http://www.symfony-project.org/doc/1_4/




-- 
A

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to