Problem with creating app. Yiic 1.1.7

Hi!

I’m trying to install Yii on my web server.

I connected thru SSH, and run i my domain root:





php framework/yiic.php eparafie.eu testdrive



and i’m getting strange message…





Yii command runner (based on Yii v1.1.7)

Usage: framework/yiic.php <command-name> [parameters...]


The following commands are available:

 - message

 - migrate

 - shell

 - webapp


To see individual command help, use the following:

   framework/yiic.php help <command-name>



When i was using




framework/yiic.php eparafie.eu testdrive



i had:





framework/yiic.php: line 1: ?php: Nie ma takiego pliku ani katalogu

framework/yiic.php: line 2: /**: Nie ma takiego pliku ani katalogu

framework/yiic.php: line 3: CHANGELOG: command not found

framework/yiic.php: line 4: CHANGELOG: command not found

framework/yiic.php: line 5: CHANGELOG: command not found

framework/yiic.php: line 6: CHANGELOG: command not found

framework/yiic.php: line 7: CHANGELOG: command not found

framework/yiic.php: line 8: syntax error near unexpected token `newline'

framework/yiic.php: line 8: ` * @author Qiang Xue <qiang.xue@gmail.com>'



Where is the problem?

Permissions is correct.

Hello,

If you wish to create a new app, you need to use the webapp command


php framework/yiic.php webapp eparafie

you can then copy the files to your webserver.

Cheers

Benn

thanks, it’s working.