phalcon command shows no error no output in Phalcon devtools

791 views Asked by At

I have installed phalcon extension in xampp php 5.6 and windows 10. phalcon extention is show in phpinfo and in cli command

php -m

But when I run any command like following, no output or error is shown.

phalcon
phalcon --version
phalcon --help
phalcon version
phalcon help
3

There are 3 answers

2
Michael Chandra Lrc On

have you set your environment variables in my computer?

1
Andromadus On

You can't use Phalcon like that in any command line. Phalcon is compiled as a PHP extension. It sits in your RAM once loaded. You could access its functionality through PHP code. However, if you meant the Phalcon devtools, you have to download the devtools file eithere from https://github.com/phalcon/phalcon-devtools or autoload via Composer onto your project.

If you do download it from the link above, register the directory in your Environment PATH variables. It should be ready to use.

Hope this helps...

2
Michael Chandra Lrc On

can u try edit your code in phalcon.bat file (inside phalcon devtools folder) set your PTOOLSPATH value same as your phalcon devtools folder

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