Symfony 2 install / setup for window xp, windows 7 or windows 8 is lot easier than installing the symfony 1.* especially 1.4 version. Follow the steps how to install or setup it.
Step 1. Go to http://symfony.com/download and download symfony 2.* version and unpack it. I used 7zip to unpack it. In my case I had to extract twice the file and got a folder named Symfony. Which I copied to my htdocs folder. in my case it is d:/xampp/htdocs
Step 2. Install Composer. I did it by the command
for this you need to go to your command prompt and if the php environmental variable is not set then you have go to the php directory and run the above command. In my case it is d:/xampp/php. You might get error for 'https' if it arises just type the following command in commandprompt
<code>php -r "eval('?>'.file_get_contents('http://getcomposer.org/installer'));"
Step 3. Its almost done the installing part. just for checking run php
for my case it is
. There might be some warnings but you can correct them later.