php bin / console gives me error

0

My computer is Windows 8 and recently I started working with Symphony the problem is that when I put the php bin / console command on my "console" it gives me an error ( " php "is not recognized as an internal or external command, program or executable batch file. ) Can someone tell me what I can do?

    
asked by Yary 24.05.2018 в 21:57
source

2 answers

0

That means that you do not have php running on your computer and it's something that does not depend on the OS. Do you have a server booted? The most comfortable thing in Windows when you install xampp

Forgive my audacity but for the question it gives the impression that you do not have much practice in working environments with PHP and if that is the case, start working with symfony I think it will be extremely difficult because in itself the learning curve is quite hard and without a solid knowledge of php and databases you will find it very complicated.

    
answered by 26.05.2018 / 09:38
source
0

Verify that you have PHP within the Windows environment variables, search the path variable and check that the path of the php executable is found. The variable path allows the command console to recognize programs to execute.

    
answered by 24.05.2018 в 22:22