Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Yii Migration Tool Error: 'yiic: Command Not Found'

$
0
0
Hi all,

I have managed to configure Yii, PHPunit and Selenium to run on my Mac using MAMP Pro, thanks largely to Eric Barne's excellent blog post, everything runs fine (google: PHP,Pear and PHPunit).

However when I go to the command line prompt and use Yii's Migration Tool from within the websites /protected/ folder, I get the below error:


/Users/gary/WebRoot/trackstar/protected$ yiic migrate create create_project_table
-bash: yiic: command not found


Now the 'yiic' executable file is there in the /protected/ folder as well as the .php and .bat files.

It is probably a configuration issue but I do not know where to start. Can anyone can help enlighten me regarding this problem?

thanks in advance.

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>