I am a complete beginner.
I have installed XAMPP on my Linux system and it work. I then extracted the yii framework to the htdocs folder. I set up the PATH to include the location of the framework directory
When I try and create an application using the yiic script I get an error 'Command not found'
The server is running and I have done all the rest of the stuff like the book tells me but it does not work.
Like I said I am new so if someone can help me I will really appreciate it allot
Regards
Page 1 of 1
Yiic Command Not Found The yiic command used to create a application cannot be found.
#3
Posted 20 March 2013 - 02:00 AM
create symlink in /usr/bin (UBUNTU) as yiic and set the path of framework/yiic. Then you can excecute the yiic command in anywhere.
Command (if framework path in /data/lib/php/yii)
go to /usr/bin and
ln -s /data/lib/php/yii/framework/yiic yiic
Command (if framework path in /data/lib/php/yii)
go to /usr/bin and
ln -s /data/lib/php/yii/framework/yiic yiic
Found anything useful???? Pls click +
Ubuntu 12.04--PHP 5.3.10(Yii v1.1.13)
Ubuntu 12.04--PHP 5.3.10(Yii v1.1.13)
#4
Posted 20 March 2013 - 02:35 AM
I think it's better to add it to the PATH variable in .bashrc:
# add Yii framework dir to PATH PATH="/var/www/yii/framework:$PATH"
"Less noise - more signal"
Share this topic:
Page 1 of 1