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

Developer tools issue:Could not open input file

I am using windows 10 and xamp. I have followed the instructions given here https://docs.phalcon.io/en/latest/reference/wintools.html. But when I tires to run phalcon command it shows Could not open input file: E:\phalcon-devtools-master. How I can solve this issue?

edited Aug '16
  • clone phalcon-devtools
  • set permissions for execute phalcon.bat
  • add phalcon.bat to $PATH

run:

phalcon.bat


2.3k

"add phalcon.bat to $PATH". Can you please tell me the name of the file and location.



40.1k
Accepted
answer

Sorry, correction here:

  • Install phalcon
  • clone phalcon-devtools
  • set permissions and execute phalcon.bat
  • add directory c:\phalcon-devtools to PATH (i.e c:\phalcon-devtools)
  • add directory of php.exe to PATH (i.e c:\wammp\bin\php\php54 )

Test:

phalcon

more info: https://docs.phalcon.io/en/latest/reference/wintools.html



2.3k

Thank you Edwin Manuel Cerrón Angeles. Finally I have figured out my problem. I have multiple php versions and both of them was added in PATH. I have solved the problem by removing one of them from the PATH.