server error 500

I deployed a yii application to my remote server and loaded it in my browser but instead of loading a page, I got the files in the application folder and when I clicked on the web folder, I got a server 500 error. Kindly help me out please.

I hope you already get sorted the above but for those who may have same problem in future.

First thing is to enable both PHP (in php.ini) and web server to display all errors and warnings.

Than must set Yii debug in you index file to true so you must see all the Yii related errors.

The most common error while migrating could be path of Yii directory and assets permission so please check these before marching ahead.