Jump to content
Larry Ullman's Book Forums

Chapter 2 Yiic Question


another_noob
 Share

Recommended Posts

Started into the book and all went fine up to the part in chapter 2 where I invoke yiic. I would enter C:\xampp\yii-1-1-13\framework>yiic.php webapp C:\xampp\htdocs\testdrive and all that would happen is the yiic.php file would automatically open in Notepad++. I tried different paths as suggested in the book, but all I got was the same thing. I changed yiic.php to yiic.bat, and my webapp was auto-magically created. I found that suggestion after an hour of Google searching. I am running php 5.4.4 on a Windows Vista development machine. Things are working fine from there. Did I miss something somewhere?

Link to comment
Share on other sites

Ah, thanks Jonathon. I got a syntax error with that. I entered a slight variation of your suggestion and this is what worked:

 

C:\xampp\yii-1-1-13\framework>php yiic.php webapp C:\xampp\htdocs\testdrive

 

I had to preface yiic.php with "php". Thanks for your fast response, it is greatly appreciated! It answered the question very clearly.

Link to comment
Share on other sites

 Share

×
×
  • Create New...