How to publish website

Hello everybody,

I have a problem with publishing Yii to website.

Are there somethings I should take a note in config file.

When I setup Yii run on my localhost (Wamp or Xampp) it work well. But when I upload the src file to server, it bring me errors. I think it is a very importance topic for every people who want to upload to server. Experiences is need for newbie like me. Hope Yii expert can support newbies :D


First of all you need to check the Yii requirements …

if you are using a database you have to set the database details in protected/config/main.php, as most probably they are not the same (username/password)

Then you need to set permissions to the folder "assets" and "runtime"…

If this don’t help, post the error you are getting…