Installing outside webroot on Linux


I tried installing Yii under /var

my webroot is /var/www/vhosts/mydomain/httpdocs

When i create a site:

> cd /var/yii/framework

> ./yiic webapp ‘/var/www/vhosts/mydomain/httpdocs/mysite’

It creates the site, but the I just get a white screen when I go to the new site in my browser.

When I do the same thing in a yii installation directly under my webroot, everything works fine.

What am I doing wrong. (I’ve tried opening up permissions and that didnt help, by the way)