Josh (the blog)

I’ve delivered simple, clear and easy-to-use services for 20 years, for startups, scaleups and government. I write about the nerdy bits here.


@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”.