Jump to content
Larry Ullman's Book Forums

Chapter 2 Yiic Question

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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...