Josh (the blog)

Hey there. I’m Josh, a SydneyCanberra-based maker of Internets. I don’t update this very often.


@joahua

Yiic Permission Denied error on Ubuntu/other Linux variants

To install Yii for the first time, the README suggests you should run the following command:

yiic webapp ..\testdrive

Unfortunately, for most users this will result in an error along the lines of “bash: ./yiic: Permission denied” unless you first make yiic executable.

The easiest way to do this is to run the following command in your framework directory:

chmod +x yiic

The x simply means “eXecutable”.