Reputation: 699
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
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
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