Cant use yiic on Ubuntu

Hello,

this is my first try with Yii. I am a Ruby/Rails developer. My PHP knowledge is not up2date :slight_smile:

I tried to use the yiic webapp ../test command but i get the follwing error message:


$ ./yiic webapp ../test

PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cgi/conf.d/mcrypt.ini on line 1 in Unknown on line 0

PHP Notice:  Undefined index: SCRIPT_FILENAME in /home/mu/projekte/yii/framework/base/CApplication.php on line 132

X-Powered-By: PHP/5.3.2-1ubuntu4.9

Content-type: text/html


This script must be run from the command line.

Anyone can tell me whats wrong?

Iā€™m running an Ubuntu with PHP5-CGI.

Okay my fault. Just installed php5-cli, now working. Sorry for this Post =)