khaled
(Prog Khaled)
1
Dear all,
Based on yii toturial i wrote this command in my cmd to create a new application:
c:\AppServ\www\yii\framework\yiic c:\AppServ\www\khaledyii
but i found this:
‘“php.exe”’ is not recognized as an internal or external command operable program or batch file
what’s the wrong … what can i do?
Thank you,
emendezn
(Emendezn)
2
Try this.
change directory to "www" so type
->yii\framework\yiic webapp www\khaledyii
khaled
(Prog Khaled)
3
Thank you for your help
But, unfortunately the problem is still exists
You can trace the steps that i did from the attached screen shot … and tell me if it is right or wrong
mdomba
(Maurizio Domba Cerin)
4
You need to put the path where your PHP.EXE is located in your PATH environment variable…
There are already many threads on this forum discussing this same issue, try to search for them…
emendezn
(Emendezn)
5
http://www.yiiframework.com/wiki/3/how-to-setup-yiic-on-wamp-xp-vista/#c1138
http://www.yiiframework.com/forum/index.php/topic/8307-tutorial-how-to-install-yii-on-windows/
http://www.yiiframework.com/wiki/3/how-to-setup-yiic-on-wamp-xp-vista/
I hope it help you
khaled
(Prog Khaled)
6
Thank you all
It was solved with me by editing the Environment variable and type this command in cmd:
C:/AppServ/php5/php.exe c:/AppServ/www/yii/framework/yiic.php webapp (you app name)