Link to home
Start Free TrialLog in
Avatar of Bruce Gust
Bruce GustFlag for United States of America

asked on

How do you install Symfony?

I've downloaded the installer, moved it to the wamp64 directory.

I'm running the Command Prompt as an Administrator, but when I go to do the command, "symfony new project" I get an error that says, "'symfony' is not recognized as an internal or external command,
operable program or batch file."

What am I doing wrong?

Here's a screenshot:

User generated image
Thanks!
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Whenever you run anything from the command prompt, you either need to in the folder that contains the file you're trying to run, or more commonly make sure the path to the folder that contains the file you're trying to run is in your environment Path.

From the command prompt, type "Path" and press enter. It will show you your path so you can if it's set correctly (my guess is it's not!)
SOLUTION
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bruce Gust

ASKER

I was able to get things up and running by using Composer. But I'm still not out of the woods as you can see with this question: https://www.experts-exchange.com/questions/29054509/Why-am-I-getting-an-error-with-this-simple-code-in-Symfony.html

Thanks for you help, guys!