problem with Apache and Yiic

Hi guys!

I have a fully MySQL+Apache+PHP5 environment in my laptop and I know it works but, for some reason everytine I call the yiic in the cmd it says "Apache is not recognized as a internal or external command" error. It makes no sense to me!

I have Apache 2.2 so I know that this version actually uses httpd.exe and not apache.exe and I already add the apache/bin path to my PATH environment variable.

I have no idea what to do next…

I would really appreciate the help, I want to get my hands on Yii!


it does no matter with apache.exe but the php.exe.

you should add the php.exe (the parent fold path ) to PATH

and try(cd to the proper dir) >php yiic …

do you read the guide ? quick start