Priti's Technical Corner

September 15, 2015

Symfony installation error – symfony is not recognized as an internal or external command


Referring site – https://symfony.com/download to install symfony on my window 7 machine. While creating a symfony new project I faced an error message while running following command

c:\wamp\www>> php symfony new my_project

“symfony is not recognized as an internal or external command operable program or batch file”

Got puzzled as I just used symfony installer and there are no other steps I missed !.  As per my thoughts if you are on Linux machine and working as Admin then you might not face this error. But, in Window it will if you are not running the command line interface as Administrator.

Steps to solve

Exit the current command line session
Start new command line interface by choosing from properties – “Run as Administrator” .
Hit the command again

c:\wamp\www>> php symfony new my_project

On Success
=========
Preparing project…

OK Symfony 2.7.4 was successfully installed. Now you can:

Hope it help you further in exploring Symfony 🙂

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: