We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Phalcon dev tools always this error: the syntax of the command is incorrect

I have downloaded phalcon dev tools form github and installed it following this tut: https://docs.phalcon.io/en/latest/reference/wintools.html but when I try any command with phalcon I end up with the syntax of the command is incorrect. I am using lastest xamp ( with php 5.5.12 and Phalcon 1.3.3 - Windows x64 for PHP 5.5.0 (VC11) ) Win 8.1 x64.



98.9k

What is exactly the message you're seeing in the console?

Anyone could help?

edited May '15

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

Hi, Append Enviorment variable path : c:\phalcon-tools; d:\xampp\php [d:\ is your derive where xampp installed] now edit c:\phalcon-tools\phalcon.bat and paste followinf three lines: @echo off
set PTOOLSPATH=C:\phalcon-tools\ php %PTOOLSPATH%phalcon.php %* ...................................................................................................... now open cmd then type : phalcon Watch Complete Video to setup phalcon mvc framework with phalcon dev tool

https://www.youtube.com/watch?v=x1rxXy1KrKo