Phalcon developer tools are not working

I have installed phalcon(phalcon.dll, and developer tools) following this steps http://docs.phalconphp.com/en/latest/reference/wintools.html , but when I try to run phalcon create-project projectname or phalcon commands in cmd or xammp shell nothing happens. Whats the error of this please help I'm new to phalcon.



84.0k

Try phalcon.bat create-project

still nothing happens here is my command C:\xammp\htdocs>phalcon.bat create-project mytest

i am using a windows 8

this is what I append on my environment variables ;C:\xammp\php;C:\phalcon-tools

here is my phalcon.bat

@echo off

set PTOOLSPATH=C:\phalcon-tools php %PTOOLSPATH%\phalcon.php %*

that is located in C:\phalcon-tools

edited Mar '14

running the "php-v" command at the prompt it works?

edited Mar '14

thnks for your help =D

If it helps I have this for my phalcon.bat and I can use CMD:

@echo off
set PTOOLSPATH=C:\phalcon-tools
php %PTOOLSPATH%\phalcon.php %*

That is with PHP in the Environment Variables:

C:\xampp\php;C:\phalcon-tools

Pretty much the same thing the guy said above. When you add a new environment variable you will have to restart your CMD console. I found it much easier to use a Vagrant box inside of windows myself, the setup just takes a while: https://github.com/phalcon/vagrant

Just wanted to add this, years later -- on linux it adds PTOOLSPATH in your ~/.bashrc file, You just have to change the path (if it's wrong), then source ~/.bashrc