Guys, I need a help. I just downloaded yii-1.1.0.r1700 into my pc with windows vista n i have xampp webserver package. I tried to install from the instruction http://blog.dmcinsights.com/2009/10/31/getting-started-with-the-yii-framework/ and it doesnt work. it returned the error “‘php’ is not recognized as an internal or external command, operable program or batch file.” I placed the framework in “C:\xampp\” so become “C:\xampp\yiiframework”. is it must in “C:\xampp\htdocs\” so become “C:\xampp\htdocs\yiiframework”?
well, the here the step why do i get the error. after unzip yii-1.1.0.r1700.zip, I see folder framework and I move this folder to C:\xampp and rename it to yiiframework so it becomes C:\xampp\yiiframework.
then i go to cmd prompt then runing "cd C:\xampp\yiiframework" then
if I run “yiic webapp c:xampp\php;c:xampp\yiiframework” I got error “‘yiic’ is not recognized as an internal or external command, operable program or batch file.”
if I run “php yiic webapp c:xampp\php;c:xampp\yiiframework” I got error “‘php’ is not recognized as an internal or external command, operable program or batch file.”
if I see this line "C:\xampp\htdocs/framework/yiic webapp C:\xampp\htdocs/templates", it means i need to create one application folder named "templates" then compile "C:\xampp\htdocs/framework/yiic webapp C:\xampp\htdocs/templates" this one from cmd prompt?
Untill you solve the PHP not recognized… forget Yii…
Have you checked where PHP.EXE is located?
if you have the path to PHP.EXE you can add it to the PATH variable… and than in the command prompt when you enter PHP -? it will display help instead of what you are getting now.
I had faced this problem too, but I have solved it
Look it simple! if you have an error when try to use "yiic webapp website", and this always return a messages like "php.exe is not ecognized as an internal or external command,…" --> that mean the php.exe file is not really redicted in right path.
Ok, just do it, it works for me:
Step 1:Open command line
Step 2:Go to the C:/ folder (with me, I setup xampp server in C:/) by command: "cd… C:/"
i have uploaded yii main folder(after download) on the server but unable to run the requirement test as the browser is not able to find the path and redirect it to yahoo serach …please help