2

I'm trying to configure the Yii framework but am having problems with the terminal commands, and am also having difficulty setting up the webapp demo. I am using Mac OS X Snow Leopard and have installed XAMPP and placed the 'yii' folder in the xamppfiles \ htdocs folder.

I have verified the http://localhost/yii/requirements/index.php which is working fine. I have tried the following but nothing seems to work so if anyone can point out what I'm doing wrong it would be very much appreciated. In fact any directory I search for is not recognized (see below) so I'm thinking I need to do something else for this to work but I have searched and searched but found no answer.

~ Jake$ /applications/xampp/xamppfiles/yii
-bash: /applications/xampp/xamppfiles/yii: No such file or directory

~ Jake$ /documents
-bash: /documents: No such file or directory
Gareth
  • 19,080
Jake
  • 23

1 Answers1

1

It's not very clear what you're trying to do, but the shell is not lying to you here: there is no such file, probably because you're looking in the wrong place. To find files that you're not sure of the exact path, you need to learn these methods:

  1. Use ls to list files. Try typing ls /Applications to see if xampp is there. Then try ls /Applications/xampp and continue drilling down to what you need.

  2. Type a partial path and press Tab to try and auto-complete it:

    /appTab → /Applications/

    If there's more than one match for what you typed, then it will show you a list of choices: just type more letters and press Tab again.

Andrew Vit
  • 1,070