Shahid Rafiq
Shahid Rafiq

Reputation: 699

phalcon command shows no error no output in Phalcon devtools

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

Upvotes: 0

Views: 822

Answers (3)

Michael Chandra Lrc
Michael Chandra Lrc

Reputation: 49

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 %*

Upvotes: 0

Andromadus
Andromadus

Reputation: 41

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...

Upvotes: 0

Michael Chandra Lrc
Michael Chandra Lrc

Reputation: 49

have you set your environment variables in my computer?

Upvotes: 0

Related Questions