Hi, does anyone know explain to me why I had to use "./yii migrate" rather than "yii migrate" from the terminal to make it work?
tnx
Hi, does anyone know explain to me why I had to use "./yii migrate" rather than "yii migrate" from the terminal to make it work?
tnx
Because the current directory isn’t in your $PATH.
That’s a common *nix thingy, get used to it
for me currentDirectory = /var/www/appName then "/var/www/" was in $PATH ? I have to add "/var/www/appName" to the $PATH?
tnx
You can add current directory to your PATH on *nix. i.e. the DOT (.)
export $PATH = .:$PATH;