I was using official symfony documentation on how to install symfony and create symfony project.
After running the command : symfony new my_project I got this error:
symfony' is not recognized as an internal or external command
What could be the reason of not being able to run this command?
I just came across this problem and it was driving me crazy until i found the solution. First let me tell you the steps I took:
c:\> php -r "readfile('http://symfony.com/installer');" > symfonyphp symfony new my_projectIn my case, this was the issue. I believe the .phar file was created with errors due to it. Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With