yiic hangs

My app directory structure:

app

–httpdocs

–protected

–yii

When I run

php yii/framework/yiic.php shell httpdocs/index.php

from the command line in the app directory, the application hangs… no errors, no completion, like it’s in a loop.

if I run it without the httpdocs/index.php param I get an error msg:

Error: index.php does not exist or is not an entry script file.

along with the USAGE statement.

Any ideas?

You could try using the full path like this:


php yii/framework/yiic.php shell <full path to app folder>/httpdocs/index.php